Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: components/audio_modem/audio_recorder.h

Issue 2131993002: Delete the audio modem and copresence private APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eol
Patch Set: Sync again Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/audio_modem/audio_player_unittest.cc ('k') | components/audio_modem/audio_recorder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/audio_recorder.h
diff --git a/components/audio_modem/audio_recorder.h b/components/audio_modem/audio_recorder.h
deleted file mode 100644
index 259e188b2ad0221b9d5b28a026ce2e1ef43d02be..0000000000000000000000000000000000000000
--- a/components/audio_modem/audio_recorder.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 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_AUDIO_MODEM_AUDIO_RECORDER_H_
-#define COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "media/audio/audio_io.h"
-#include "media/base/audio_converter.h"
-#include "media/base/audio_parameters.h"
-
-namespace audio_modem {
-
-// 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 audio_modem
-
-#endif // COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_
« no previous file with comments | « components/audio_modem/audio_player_unittest.cc ('k') | components/audio_modem/audio_recorder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698