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

Unified Diff: chrome/browser/extensions/api/content_settings/content_settings_api_constants.h

Issue 10381097: Move content settings extension API to content_settings dir. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: renamed to ContentSettingsStore and moved to extensions namespace Created 8 years, 7 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/content_settings/content_settings_api_constants.h
diff --git a/chrome/browser/extensions/extension_content_settings_api_constants.h b/chrome/browser/extensions/api/content_settings/content_settings_api_constants.h
similarity index 68%
rename from chrome/browser/extensions/extension_content_settings_api_constants.h
rename to chrome/browser/extensions/api/content_settings/content_settings_api_constants.h
index 4ada1464cd2125db11a8634a53b31360e888aeaa..e81dda63752d0d915960c0c7155ab2abfb908287 100644
--- a/chrome/browser/extensions/extension_content_settings_api_constants.h
+++ b/chrome/browser/extensions/api/content_settings/content_settings_api_constants.h
@@ -4,11 +4,12 @@
// Constants used for the Content Settings API.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__
+#ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONSTANTS_H__
+#define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONSTANTS_H__
#pragma once
-namespace extension_content_settings_api_constants {
+namespace extensions {
+namespace content_settings_api_constants {
// Keys.
extern const char kContentSettingKey[];
@@ -29,5 +30,6 @@ extern const char kIncognitoSessionOnlyError[];
extern const char kInvalidUrlError[];
}
chebert 2012/05/12 01:24:42 Add "namespace content_settings_api_constants"
+} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__
+#endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_CONSTANTS_H__

Powered by Google App Engine
This is Rietveld 408576698