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

Unified Diff: chrome/browser/extensions/api/preference/preference_api_constants.h

Issue 10952021: Moving preference API into api/preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/preference/preference_api_constants.h
diff --git a/chrome/browser/extensions/extension_preference_api_constants.h b/chrome/browser/extensions/api/preference/preference_api_constants.h
similarity index 60%
rename from chrome/browser/extensions/extension_preference_api_constants.h
rename to chrome/browser/extensions/api/preference/preference_api_constants.h
index f77cdd33294f2bd61794a425232ce1ad3fb81f2c..e947d0578be8c6498aaffba8e53dd6b92cac65be 100644
--- a/chrome/browser/extensions/extension_preference_api_constants.h
+++ b/chrome/browser/extensions/api/preference/preference_api_constants.h
@@ -2,10 +2,11 @@
// 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_PREFERENCE_API_CONSTANTS_H__
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
+#ifndef CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_PREFERENCE_API_CONSTANTS_H__
+#define CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_PREFERENCE_API_CONSTANTS_H__
-namespace extension_preference_api_constants {
+namespace extensions {
+namespace preference_api_constants {
// Keys for incoming arguments.
extern const char kIncognitoKey[];
@@ -21,6 +22,7 @@ extern const char kIncognitoErrorMessage[];
extern const char kIncognitoSessionOnlyErrorMessage[];
extern const char kPermissionErrorMessage[];
-}
+} // namespace preference_api_constants
+} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
+#endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_PREFERENCE_API_CONSTANTS_H__

Powered by Google App Engine
This is Rietveld 408576698