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

Unified Diff: media/audio/audio_input_controller.cc

Issue 6628020: Cleaning up src/media to be consistent with static versus anonymous namespaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: fix namespaces Created 9 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: media/audio/audio_input_controller.cc
diff --git a/media/audio/audio_input_controller.cc b/media/audio/audio_input_controller.cc
index 1e23f53081a837f8f540ddede699ea69415b5b89..3d58a50bcbf7d2c214b4248eef1d2ca17ed04ff7 100644
--- a/media/audio/audio_input_controller.cc
+++ b/media/audio/audio_input_controller.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.
@@ -7,14 +7,10 @@
#include "base/threading/thread_restrictions.h"
#include "media/base/limits.h"
-namespace {
-
-const int kMaxInputChannels = 2;
-
-} // namespace
-
namespace media {
+static const int kMaxInputChannels = 2;
Ami GONE FROM CHROMIUM 2011/03/04 22:52:04 FWIW, for integral constants, using an unnamed enu
scherkus (not reviewing) 2011/03/07 14:57:56 Neat suggestion! I'll keep that around for anothe
+
// static
AudioInputController::Factory* AudioInputController::factory_ = NULL;
« no previous file with comments | « no previous file | media/audio/audio_input_controller_unittest.cc » ('j') | media/audio/audio_input_controller_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698