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

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

Issue 2809983002: Fix 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
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 49770124ae1ed035556fb7abae42d8db266981d3..ceee1a93eed7c29962334b7db2da6e45664abbb3 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp
@@ -16,7 +16,7 @@ namespace blink {
namespace {
-const char* g_k_valid_policies[] = {
+const char* const kValidPolicies[] = {
"{\"vibrate\": []}",
"{\"vibrate\": [\"self\"]}",
"{\"vibrate\": [\"*\"]}",
@@ -50,7 +50,7 @@ class FeaturePolicyTest : public ::testing::Test {
TEST_F(FeaturePolicyTest, ParseValidPolicy) {
Vector<String> messages;
- for (const char* policy_string : g_k_valid_policies) {
+ for (const char* policy_string : kValidPolicies) {
messages.Clear();
ParseFeaturePolicy(policy_string, origin_a_.Get(), &messages);
EXPECT_EQ(0UL, messages.size());

Powered by Google App Engine
This is Rietveld 408576698