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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityPolicyTest.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/weborigin/SecurityPolicyTest.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityPolicyTest.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityPolicyTest.cpp
index 78d4a26abc2af069f005bad039dd215e51a0fafa..f4b3cc7050fd42562c870ff308e253706456cbcc 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityPolicyTest.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityPolicyTest.cpp
@@ -51,13 +51,15 @@ TEST(SecurityPolicyTest, GenerateReferrerRespectsReferrerSchemesRegistry) {
const String foobarURL = String::fromUTF8("foobar://somepage/");
const String foobarScheme = String::fromUTF8("foobar");
- EXPECT_EQ(String(), SecurityPolicy::generateReferrer(
- ReferrerPolicyAlways, exampleHttpUrl, foobarURL)
- .referrer);
+ EXPECT_EQ(String(),
+ SecurityPolicy::generateReferrer(ReferrerPolicyAlways,
+ exampleHttpUrl, foobarURL)
+ .referrer);
SchemeRegistry::registerURLSchemeAsAllowedForReferrer(foobarScheme);
- EXPECT_EQ(foobarURL, SecurityPolicy::generateReferrer(
- ReferrerPolicyAlways, exampleHttpUrl, foobarURL)
- .referrer);
+ EXPECT_EQ(foobarURL,
+ SecurityPolicy::generateReferrer(ReferrerPolicyAlways,
+ exampleHttpUrl, foobarURL)
+ .referrer);
SchemeRegistry::removeURLSchemeAsAllowedForReferrer(foobarScheme);
}

Powered by Google App Engine
This is Rietveld 408576698