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

Unified Diff: components/copresence/mediums/audio/audio_manager.h

Issue 865483005: Creating the audio_modem component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging again Created 5 years, 10 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
Index: components/copresence/mediums/audio/audio_manager.h
diff --git a/components/copresence/mediums/audio/audio_manager.h b/components/copresence/mediums/audio/audio_manager.h
deleted file mode 100644
index 4e5ce47985893e05b4469034efd26fcc90fb0a03..0000000000000000000000000000000000000000
--- a/components/copresence/mediums/audio/audio_manager.h
+++ /dev/null
@@ -1,43 +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_MANAGER_H_
-#define COMPONENTS_COPRESENCE_MEDIUMS_AUDIO_AUDIO_MANAGER_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "components/copresence/public/copresence_constants.h"
-
-namespace copresence {
-
-class WhispernetClient;
-
-class AudioManager {
- public:
- virtual ~AudioManager() {}
-
- // Initializes the object. Do not use this object before calling this method.
- virtual void Initialize(WhispernetClient* whispernet_client,
- const TokensCallback& tokens_cb) = 0;
-
- virtual void StartPlaying(AudioType type) = 0;
- virtual void StopPlaying(AudioType type) = 0;
-
- virtual void StartRecording(AudioType type) = 0;
- virtual void StopRecording(AudioType type) = 0;
-
- virtual void SetToken(AudioType type,
- const std::string& url_safe_token) = 0;
-
- virtual const std::string GetToken(AudioType type) = 0;
-
- virtual bool IsPlayingTokenHeard(AudioType type) = 0;
-
- virtual void SetTokenLength(AudioType type, size_t token_length) = 0;
-};
-
-} // namespace copresence
-
-#endif // COMPONENTS_COPRESENCE_MEDIUMS_AUDIO_AUDIO_MANAGER_H_
« no previous file with comments | « components/copresence/handlers/directive_handler_unittest.cc ('k') | components/copresence/mediums/audio/audio_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698