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

Unified Diff: media/base/pipeline_impl_unittest.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/base/pipeline_impl_unittest.cc
diff --git a/media/base/pipeline_impl_unittest.cc b/media/base/pipeline_impl_unittest.cc
index cc6de371611226f834f0335c25df6c907b8cd85c..0762cb35eac2f4de7beb9d167feaf71646ffcc12 100644
--- a/media/base/pipeline_impl_unittest.cc
+++ b/media/base/pipeline_impl_unittest.cc
@@ -24,17 +24,13 @@ using ::testing::Return;
using ::testing::ReturnRef;
using ::testing::StrictMock;
-namespace {
+namespace media {
// Total bytes of the data source.
-const int kTotalBytes = 1024;
+static const int kTotalBytes = 1024;
// Buffered bytes of the data source.
-const int kBufferedBytes = 1024;
-
-} // namespace
-
-namespace media {
+static const int kBufferedBytes = 1024;
// Used for setting expectations on pipeline callbacks. Using a StrictMock
// also lets us test for missing callbacks.

Powered by Google App Engine
This is Rietveld 408576698