// components/language_detection/content/common/language_detection.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_LANGUAGE_DETECTION_CONTENT_COMMON_LANGUAGE_DETECTION_MOJOM_TEST_UTILS_H_
#define COMPONENTS_LANGUAGE_DETECTION_CONTENT_COMMON_LANGUAGE_DETECTION_MOJOM_TEST_UTILS_H_

#include "components/language_detection/content/common/language_detection.mojom.h"


namespace language_detection::mojom {


class  ContentLanguageDetectionDriverInterceptorForTesting : public ContentLanguageDetectionDriver {
  virtual ContentLanguageDetectionDriver* GetForwardingInterface() = 0;
  void GetLanguageDetectionModel(GetLanguageDetectionModelCallback callback) override;
  void GetLanguageDetectionModelStatus(GetLanguageDetectionModelStatusCallback callback) override;
};
class  ContentLanguageDetectionDriverAsyncWaiter {
 public:
  explicit ContentLanguageDetectionDriverAsyncWaiter(ContentLanguageDetectionDriver* proxy);

  ContentLanguageDetectionDriverAsyncWaiter(const ContentLanguageDetectionDriverAsyncWaiter&) = delete;
  ContentLanguageDetectionDriverAsyncWaiter& operator=(const ContentLanguageDetectionDriverAsyncWaiter&) = delete;

  ~ContentLanguageDetectionDriverAsyncWaiter();
  void GetLanguageDetectionModel(
      ::base::File* out_model_file);
  ::base::File GetLanguageDetectionModel();
  void GetLanguageDetectionModelStatus(
      LanguageDetectionModelStatus* out_status);
  LanguageDetectionModelStatus GetLanguageDetectionModelStatus();

 private:
  ContentLanguageDetectionDriver* const proxy_;
};




}  // language_detection::mojom

#endif  // COMPONENTS_LANGUAGE_DETECTION_CONTENT_COMMON_LANGUAGE_DETECTION_MOJOM_TEST_UTILS_H_