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

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

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.cc
diff --git a/chrome/browser/extensions/extension_preference_api_constants.cc b/chrome/browser/extensions/api/preference/preference_api_constants.cc
similarity index 81%
rename from chrome/browser/extensions/extension_preference_api_constants.cc
rename to chrome/browser/extensions/api/preference/preference_api_constants.cc
index 7d08cdc8699e2fefab74872e0143cd9a59a26794..5202b214146c78e2c5197c3688390535ca3c83ee 100644
--- a/chrome/browser/extensions/extension_preference_api_constants.cc
+++ b/chrome/browser/extensions/api/preference/preference_api_constants.cc
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/extension_preference_api_constants.h"
+#include "chrome/browser/extensions/api/preference/preference_api_constants.h"
-namespace extension_preference_api_constants {
+namespace extensions {
+namespace preference_api_constants {
const char kIncognitoKey[] = "incognito";
@@ -25,4 +26,5 @@ const char kPermissionErrorMessage[] =
"You do not have permission to access the preference '*'. "
"Be sure to declare in your manifest what permissions you need.";
-} // extension_preference_api_constants
+} // preference_api_constants
+} // extensions

Powered by Google App Engine
This is Rietveld 408576698