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

Unified Diff: components/audio_modem/test/stub_whispernet_client.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/audio_modem/test/stub_whispernet_client.h
diff --git a/components/copresence/test/stub_whispernet_client.h b/components/audio_modem/test/stub_whispernet_client.h
similarity index 80%
rename from components/copresence/test/stub_whispernet_client.h
rename to components/audio_modem/test/stub_whispernet_client.h
index 235689656bee58d7505a9b59db98a8c6fd58c48c..3225863ccb4e8ab4e6cb13c4dac540264ca64d2c 100644
--- a/components/copresence/test/stub_whispernet_client.h
+++ b/components/audio_modem/test/stub_whispernet_client.h
@@ -1,9 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// 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_COPRESENCE_TEST_STUB_WHISPERNET_CLIENT_H_
-#define COMPONENTS_COPRESENCE_TEST_STUB_WHISPERNET_CLIENT_H_
+#ifndef COMPONENTS_AUDIO_MODEM_TEST_STUB_WHISPERNET_CLIENT_H_
+#define COMPONENTS_AUDIO_MODEM_TEST_STUB_WHISPERNET_CLIENT_H_
#include <string>
#include <vector>
@@ -11,11 +11,10 @@
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "components/copresence/public/whispernet_client.h"
-#include "components/copresence/tokens.h"
+#include "components/audio_modem/public/whispernet_client.h"
#include "media/base/audio_bus.h"
-namespace copresence {
+namespace audio_modem {
// A simple WhispernetClient for testing.
class StubWhispernetClient final : public WhispernetClient {
@@ -30,7 +29,6 @@ class StubWhispernetClient final : public WhispernetClient {
~StubWhispernetClient() override;
void Initialize(const SuccessCallback& init_callback) override;
- void Shutdown() override {}
void EncodeToken(const std::string& token, AudioType type) override;
void DecodeSamples(AudioType type,
@@ -57,6 +55,6 @@ class StubWhispernetClient final : public WhispernetClient {
DISALLOW_COPY_AND_ASSIGN(StubWhispernetClient);
};
-} // namespace copresence
+} // namespace audio_modem
-#endif // COMPONENTS_COPRESENCE_TEST_STUB_WHISPERNET_CLIENT_H_
+#endif // COMPONENTS_AUDIO_MODEM_TEST_STUB_WHISPERNET_CLIENT_H_
« no previous file with comments | « components/audio_modem/test/random_samples.cc ('k') | components/audio_modem/test/stub_whispernet_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698