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

Unified Diff: chrome/browser/extensions/api/test/test_api.h

Issue 10690113: Moving test_api to api/test . (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding "extensions::" one more Created 8 years, 5 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: chrome/browser/extensions/api/test/test_api.h
diff --git a/chrome/browser/extensions/extension_test_api.h b/chrome/browser/extensions/api/test/test_api.h
similarity index 93%
rename from chrome/browser/extensions/extension_test_api.h
rename to chrome/browser/extensions/api/test/test_api.h
index 518a8075715400cf9269ae49d01cc7eb1ed26cf5..0d26cccea6b3f00d141071c7ade47f276c0f192b 100644
--- a/chrome/browser/extensions/extension_test_api.h
+++ b/chrome/browser/extensions/api/test/test_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_TEST_TEST_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_TEST_TEST_API_H_
#pragma once
#include "base/values.h"
@@ -11,6 +11,8 @@
template <typename T> struct DefaultSingletonTraits;
+namespace extensions {
+
// A function that is only available in tests.
// Prior to running, checks that we are in an extension process.
class TestExtensionFunction : public SyncExtensionFunction {
@@ -131,4 +133,6 @@ class ExtensionTestGetConfigFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
+} // namespace extensions
Yoyo Zhou 2012/07/10 19:00:11 nit: two spaces before the //
vabr (Chromium) 2012/07/11 10:01:25 Done.
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_TEST_TEST_API_H_

Powered by Google App Engine
This is Rietveld 408576698