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

Unified Diff: third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp

Issue 2819293003: Fix more g_k_* symbols after blink rename. (Closed)
Patch Set: Created 3 years, 8 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 | third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp
diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp
index ceee1a93eed7c29962334b7db2da6e45664abbb3..c57bc389788965b8658ee43700d5635195f64b45 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp
@@ -26,7 +26,7 @@ const char* const kValidPolicies[] = {
"{\"fullscreen\": [\"" ORIGIN_A "\"], \"payment\": [\"self\"]}",
"{\"fullscreen\": [\"" ORIGIN_A "\"]}, {\"payment\": [\"self\"]}"};
-const char* g_k_invalid_policies[] = {
+const char* const kInvalidPolicies[] = {
"Not A JSON literal",
"\"Not a JSON object\"",
"[\"Also\", \"Not a JSON object\"]",
@@ -59,7 +59,7 @@ TEST_F(FeaturePolicyTest, ParseValidPolicy) {
TEST_F(FeaturePolicyTest, ParseInvalidPolicy) {
Vector<String> messages;
- for (const char* policy_string : g_k_invalid_policies) {
+ for (const char* policy_string : kInvalidPolicies) {
messages.Clear();
ParseFeaturePolicy(policy_string, origin_a_.Get(), &messages);
EXPECT_NE(0UL, messages.size());
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698