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

Unified Diff: media/omx/omx_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/omx/omx_unittest.cc
diff --git a/media/omx/omx_unittest.cc b/media/omx/omx_unittest.cc
index 18dab477d743b1b44867cd81a2d2d30137bc76e2..a60e21a869fef9fdfe909362e63c7d9f9c84771f 100644
--- a/media/omx/omx_unittest.cc
+++ b/media/omx/omx_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009-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.
@@ -9,10 +9,10 @@
#include "third_party/openmax/il/OMX_Component.h"
#include "third_party/openmax/il/OMX_Core.h"
-namespace {
+namespace media {
// Defines the maximum number of buffers created for I/O ports.
-const int kMaxBufferNum = 256;
+static const int kMaxBufferNum = 256;
template <typename T>
static void ResetHeader(T* param) {
@@ -22,10 +22,6 @@ static void ResetHeader(T* param) {
param->nSize = sizeof(T);
}
-} // namespace
-
-namespace media {
-
class OmxTest : public testing::Test {
public:
OmxTest()

Powered by Google App Engine
This is Rietveld 408576698