Index: components/copresence/mediums/audio/audio_recorder.h |
diff --git a/components/copresence/mediums/audio/audio_recorder.h b/components/copresence/mediums/audio/audio_recorder.h |
deleted file mode 100644 |
index c208980f4990db28b5dc0ed04f6d23b890f76f28..0000000000000000000000000000000000000000 |
--- a/components/copresence/mediums/audio/audio_recorder.h |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef COMPONENTS_COPRESENCE_MEDIUMS_AUDIO_AUDIO_RECORDER_H_ |
-#define COMPONENTS_COPRESENCE_MEDIUMS_AUDIO_AUDIO_RECORDER_H_ |
- |
-#include <string> |
- |
-#include "base/gtest_prod_util.h" |
-#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
-#include "media/audio/audio_io.h" |
-#include "media/audio/audio_parameters.h" |
-#include "media/base/audio_converter.h" |
- |
-namespace copresence { |
- |
-// The AudioRecorder class will record audio until told to stop. |
-class AudioRecorder { |
- public: |
- using RecordedSamplesCallback = base::Callback<void(const std::string&)>; |
- |
- // Initializes the object. Do not use this object before calling this method. |
- virtual void Initialize(const RecordedSamplesCallback& decode_callback) = 0; |
- |
- // If we are already recording, this function will do nothing. |
- virtual void Record() = 0; |
- // If we are already stopped, this function will do nothing. |
- virtual void Stop() = 0; |
- |
- // Cleans up and deletes this object. Do not use object after this call. |
- virtual void Finalize() = 0; |
- |
- protected: |
- virtual ~AudioRecorder() {} |
-}; |
- |
-} // namespace copresence |
- |
-#endif // COMPONENTS_COPRESENCE_MEDIUMS_AUDIO_AUDIO_RECORDER_H_ |