summaryrefslogtreecommitdiffstats
path: root/media/audio/fake_audio_input_stream_unittest.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-07 15:26:05 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-07 15:26:05 +0000
commit2770c95a50db703c322d65d286aa5771e58ac25a (patch)
tree595b2adf92be75f65eccbbb0760e3969d2d840c3 /media/audio/fake_audio_input_stream_unittest.cc
parenteac3ba4f0f315bb2c68289062cb9f4f5ec632f90 (diff)
downloadchromium_src-2770c95a50db703c322d65d286aa5771e58ac25a.zip
chromium_src-2770c95a50db703c322d65d286aa5771e58ac25a.tar.gz
chromium_src-2770c95a50db703c322d65d286aa5771e58ac25a.tar.bz2
Cleaning up src/media to be consistent with static versus anonymous namespaces.
We were using a mix of both (and sometimes even static functions *inside* anonymous namespaces!) so we decided to stick to using static. Also moved static/test code into media namespace and removed media:: prefixes. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6628020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio/fake_audio_input_stream_unittest.cc')
-rw-r--r--media/audio/fake_audio_input_stream_unittest.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/media/audio/fake_audio_input_stream_unittest.cc b/media/audio/fake_audio_input_stream_unittest.cc
index 107115b..ff3b6f5 100644
--- a/media/audio/fake_audio_input_stream_unittest.cc
+++ b/media/audio/fake_audio_input_stream_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -14,8 +14,6 @@ using ::testing::AtLeast;
using ::testing::Exactly;
using ::testing::NotNull;
-namespace {
-
class MockAudioInputCallback : public AudioInputStream::AudioInputCallback {
public:
MockAudioInputCallback() {}
@@ -28,8 +26,6 @@ class MockAudioInputCallback : public AudioInputStream::AudioInputCallback {
DISALLOW_COPY_AND_ASSIGN(MockAudioInputCallback);
};
-}
-
// ============================================================================
// Validate that the AudioManager::AUDIO_MOCK callbacks work.
// Crashes, http://crbug.com/49497.