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

Unified Diff: third_party/WebKit/Source/core/experiments/ExperimentsTest.cpp

Issue 1636873005: blink: Fix naming and const-ness of constants and non-constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants: indents Created 4 years, 11 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: third_party/WebKit/Source/core/experiments/ExperimentsTest.cpp
diff --git a/third_party/WebKit/Source/core/experiments/ExperimentsTest.cpp b/third_party/WebKit/Source/core/experiments/ExperimentsTest.cpp
index 1be05eee22568f0e2bed203284a26bdb4743673e..aa90cf64940656f484d1b103cbeda0ac9d934187 100644
--- a/third_party/WebKit/Source/core/experiments/ExperimentsTest.cpp
+++ b/third_party/WebKit/Source/core/experiments/ExperimentsTest.cpp
@@ -20,13 +20,13 @@
namespace blink {
namespace {
-const char* kNonExistingAPIName = "This API does not exist";
-const char* kFrobulateAPIName = "Frobulate";
-const char* kFrobulateEnabledOrigin = "https://www.example.com";
-const char* kFrobulateEnabledOriginUnsecure = "http://www.example.com";
+const char kNonExistingAPIName[] = "This API does not exist";
+const char kFrobulateAPIName[] = "Frobulate";
+const char kFrobulateEnabledOrigin[] = "https://www.example.com";
+const char kFrobulateEnabledOriginUnsecure[] = "http://www.example.com";
-// API Key which will appear valid
-const char* kGoodAPIKey = "AnySignatureWillDo|https://www.example.com|Frobulate|2000000000";
+// API Key that will appear valid.
+const char kGoodAPIKey[] = "AnySignatureWillDo|https://www.example.com|Frobulate|2000000000";
class MockApiKeyValidator : public WebApiKeyValidator {
public:

Powered by Google App Engine
This is Rietveld 408576698