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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.cc

Issue 997073002: content_settings_handler - Change const char* foo to const char foo[] Cleanup patch to address belo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index 7eeee986a660f219d7a4b49bc5b6f16efbfdc530..9a0e87309e50e5cddcbb0150fa83845e87f302c2 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -87,15 +87,15 @@ typedef bool (*AppFilter)(const extensions::Extension& app,
const char kExceptionsLearnMoreUrl[] =
"https://support.google.com/chrome/?p=settings_manage_exceptions";
-const char* kSetting = "setting";
-const char* kOrigin = "origin";
-const char* kSource = "source";
-const char* kAppName = "appName";
-const char* kAppId = "appId";
-const char* kEmbeddingOrigin = "embeddingOrigin";
-const char* kPreferencesSource = "preference";
-const char* kVideoSetting = "video";
-const char* kZoom = "zoom";
+const char kSetting[] = "setting";
+const char kOrigin[] = "origin";
+const char kSource[] = "source";
+const char kAppName[] = "appName";
+const char kAppId[] = "appId";
+const char kEmbeddingOrigin[] = "embeddingOrigin";
+const char kPreferencesSource[] = "preference";
+const char kVideoSetting[] = "video";
+const char kZoom[] = "zoom";
const ContentSettingsTypeNameEntry kContentSettingsTypeGroupNames[] = {
{CONTENT_SETTINGS_TYPE_COOKIES, "cookies"},
@@ -124,7 +124,7 @@ const ContentSettingsTypeNameEntry kContentSettingsTypeGroupNames[] = {
// A pseudo content type. We use it to display data like a content setting even
// though it is not a real content setting.
-const char* kZoomContentType = "zoomlevels";
+const char kZoomContentType[] = "zoomlevels";
content::BrowserContext* GetBrowserContext(content::WebUI* web_ui) {
return web_ui->GetWebContents()->GetBrowserContext();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698