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

Unified Diff: components/audio_modem/public/modem.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
Index: components/audio_modem/public/modem.h
diff --git a/components/audio_modem/public/modem.h b/components/audio_modem/public/modem.h
deleted file mode 100644
index 4dfeeeadb8b799f353ba2d652a93cccaf0291eda..0000000000000000000000000000000000000000
--- a/components/audio_modem/public/modem.h
+++ /dev/null
@@ -1,46 +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_PUBLIC_MODEM_H_
-#define COMPONENTS_AUDIO_MODEM_PUBLIC_MODEM_H_
-
-#include <memory>
-#include <string>
-
-#include "components/audio_modem/public/audio_modem_types.h"
-
-namespace audio_modem {
-
-class WhispernetClient;
-
-class Modem {
- public:
- virtual ~Modem() {}
-
- // Initializes the object. Do not use this object before calling this method.
- virtual void Initialize(WhispernetClient* 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) const = 0;
-
- virtual bool IsPlayingTokenHeard(AudioType type) const = 0;
-
- virtual void SetTokenParams(AudioType type,
- const TokenParameters& params) = 0;
-
- static std::unique_ptr<Modem> Create();
-};
-
-} // namespace audio_modem
-
-#endif // COMPONENTS_AUDIO_MODEM_PUBLIC_MODEM_H_
« no previous file with comments | « components/audio_modem/public/audio_modem_types.h ('k') | components/audio_modem/public/whispernet_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698