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

Unified Diff: chrome/browser/content_settings/content_settings_browsertest.cc

Issue 924793003: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years 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 | « base/memory/shared_memory_unittest.cc ('k') | chrome/browser/net/dns_probe_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/content_settings_browsertest.cc
diff --git a/chrome/browser/content_settings/content_settings_browsertest.cc b/chrome/browser/content_settings/content_settings_browsertest.cc
index 32e52bc02b78795b89479c536b32a3d7540aa7e1..28ef746f2d2ec03c33914a19d60d8a3c821773a5 100644
--- a/chrome/browser/content_settings/content_settings_browsertest.cc
+++ b/chrome/browser/content_settings/content_settings_browsertest.cc
@@ -323,7 +323,7 @@ IN_PROC_BROWSER_TEST_F(ContentSettingsTest, RedirectCrossOrigin) {
#if defined(ENABLE_PLUGINS)
class PepperContentSettingsSpecialCasesTest : public ContentSettingsTest {
protected:
- static const char* const kExternalClearKeyMimeType;
+ static const char kExternalClearKeyMimeType[];
// Registers any CDM plugins not registered by default.
void SetUpCommandLine(base::CommandLine* command_line) override {
@@ -465,8 +465,8 @@ class PepperContentSettingsSpecialCasesTest : public ContentSettingsTest {
}
};
-const char* const
-PepperContentSettingsSpecialCasesTest::kExternalClearKeyMimeType =
+const char
+PepperContentSettingsSpecialCasesTest::kExternalClearKeyMimeType[] =
"application/x-ppapi-clearkey-cdm";
class PepperContentSettingsSpecialCasesPluginsBlockedTest
« no previous file with comments | « base/memory/shared_memory_unittest.cc ('k') | chrome/browser/net/dns_probe_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698