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

Unified Diff: components/audio_modem/audio_player_impl.cc

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
« no previous file with comments | « components/audio_modem/audio_player_impl.h ('k') | components/audio_modem/audio_player_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/audio_player_impl.cc
diff --git a/components/copresence/mediums/audio/audio_player_impl.cc b/components/audio_modem/audio_player_impl.cc
similarity index 95%
rename from components/copresence/mediums/audio/audio_player_impl.cc
rename to components/audio_modem/audio_player_impl.cc
index 17588d4c58eb3e8d4e3088cbfa7a80fb0482a855..22fd723b6b89193187d63717be383dfbb2dc7043 100644
--- a/components/copresence/mediums/audio/audio_player_impl.cc
+++ b/components/audio_modem/audio_player_impl.cc
@@ -1,8 +1,8 @@
-// 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.
-#include "components/copresence/mediums/audio/audio_player_impl.h"
+#include "components/audio_modem/audio_player_impl.h"
#include <algorithm>
#include <string>
@@ -11,7 +11,7 @@
#include "base/bind_helpers.h"
#include "base/logging.h"
#include "base/run_loop.h"
-#include "components/copresence/public/copresence_constants.h"
+#include "components/audio_modem/public/audio_modem_types.h"
#include "content/public/browser/browser_thread.h"
#include "media/audio/audio_manager.h"
#include "media/audio/audio_parameters.h"
@@ -24,7 +24,7 @@ const double kOutputVolumePercent = 1.0f;
} // namespace
-namespace copresence {
+namespace audio_modem {
// Public methods.
@@ -176,4 +176,4 @@ void AudioPlayerImpl::FlushAudioLoopForTesting() {
rl.Run();
}
-} // namespace copresence
+} // namespace audio_modem
« no previous file with comments | « components/audio_modem/audio_player_impl.h ('k') | components/audio_modem/audio_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698