chromium/ash/projector/test/mock_projector_metadata_controller.h

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

#ifndef ASH_PROJECTOR_TEST_MOCK_PROJECTOR_METADATA_CONTROLLER_H_
#define ASH_PROJECTOR_TEST_MOCK_PROJECTOR_METADATA_CONTROLLER_H_

#include "ash/projector/projector_metadata_controller.h"
#include "base/files/file_path.h"
#include "media/mojo/mojom/speech_recognition.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace ash {

// A mock implementation of ProjectorMetadataController for use in tests.
class ASH_EXPORT MockProjectorMetadataController
    : public ProjectorMetadataController {
 public:
  MockProjectorMetadataController();

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

  ~MockProjectorMetadataController() override;

  // ProjectorMetadataController:
  MOCK_METHOD0(OnRecordingStarted, void());
  MOCK_METHOD1(SetSpeechRecognitionStatus, void(RecognitionStatus status));
  MOCK_METHOD1(RecordTranscription,
               void(const media::SpeechRecognitionResult& speech_result));
  MOCK_METHOD0(OnTranscriptionComplete, void());
  MOCK_METHOD0(RecordKeyIdea, void());
  MOCK_METHOD1(SaveMetadata, void(const base::FilePath& video_file_path));
};

}  // namespace ash
#endif  // ASH_PROJECTOR_TEST_MOCK_PROJECTOR_METADATA_CONTROLLER_H_