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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/RawResourceTest.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/loader/fetch/RawResourceTest.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/RawResourceTest.cpp b/third_party/WebKit/Source/platform/loader/fetch/RawResourceTest.cpp
index 992f7ea246bf0aa74be1592064a8dcbe5d305479..5f38428fdb2f9bb79e4a58d4eb41b1cd09b667c4 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/RawResourceTest.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/RawResourceTest.cpp
@@ -173,8 +173,9 @@ class AddingClient final : public GarbageCollectedFinalized<AddingClient>,
->currentThread()
->scheduler()
->loadingTaskRunner()
- ->postTask(BLINK_FROM_HERE, WTF::bind(&AddingClient::removeClient,
- wrapPersistent(this)));
+ ->postTask(
+ BLINK_FROM_HERE,
+ WTF::bind(&AddingClient::removeClient, wrapPersistent(this)));
resource->addClient(m_dummyClient);
}
String debugName() const override { return "AddingClient"; }
@@ -215,8 +216,9 @@ TEST_F(RawResourceTest, RevalidationSucceeded) {
EXPECT_FALSE(resource->isCacheValidator());
EXPECT_EQ(200, resource->response().httpStatusCode());
EXPECT_EQ(4u, resource->resourceBuffer()->size());
- EXPECT_EQ(resource, memoryCache()->resourceForURL(
- KURL(ParsedURLString, "data:text/html,")));
+ EXPECT_EQ(
+ resource,
+ memoryCache()->resourceForURL(KURL(ParsedURLString, "data:text/html,")));
memoryCache()->remove(resource);
resource->removeClient(client);
@@ -246,8 +248,9 @@ TEST_F(RawResourceTest, RevalidationSucceededForResourceWithoutBody) {
EXPECT_FALSE(resource->isCacheValidator());
EXPECT_EQ(200, resource->response().httpStatusCode());
EXPECT_FALSE(resource->resourceBuffer());
- EXPECT_EQ(resource, memoryCache()->resourceForURL(
- KURL(ParsedURLString, "data:text/html,")));
+ EXPECT_EQ(
+ resource,
+ memoryCache()->resourceForURL(KURL(ParsedURLString, "data:text/html,")));
memoryCache()->remove(resource);
resource->removeClient(client);
@@ -387,8 +390,9 @@ TEST_F(RawResourceTest, RedirectDuringRevalidation) {
EXPECT_FALSE(resource->isCacheValidator());
EXPECT_EQ(200, resource->response().httpStatusCode());
EXPECT_EQ(3u, resource->resourceBuffer()->size());
- EXPECT_EQ(resource, memoryCache()->resourceForURL(
- KURL(ParsedURLString, "https://example.com/1")));
+ EXPECT_EQ(resource,
+ memoryCache()->resourceForURL(
+ KURL(ParsedURLString, "https://example.com/1")));
EXPECT_TRUE(client->called());
EXPECT_EQ(1, client->numberOfRedirectsReceived());

Powered by Google App Engine
This is Rietveld 408576698