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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp

Issue 2389643002: Reflow comments in core/fetch (Closed)
Patch Set: yoavs comments Created 4 years, 2 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/fetch/ResourceFetcherTest.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
index b3e7bd54f971fbf5d812bba2597586dc155d2ec9..62030f26562dfe27367d2a1cc924eefe9060780f 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
@@ -126,8 +126,8 @@ class TestResourceFactory : public ResourceFactory {
TEST_F(ResourceFetcherTest, StartLoadAfterFrameDetach) {
KURL secureURL(ParsedURLString, "https://secureorigin.test/image.png");
- // Try to request a url. The request should fail, no resource should be returned,
- // and no resource should be present in the cache.
+ // Try to request a url. The request should fail, no resource should be
+ // returned, and no resource should be present in the cache.
ResourceFetcher* fetcher = ResourceFetcher::create(nullptr);
FetchRequest fetchRequest =
FetchRequest(ResourceRequest(secureURL), FetchInitiatorInfo());
@@ -356,7 +356,8 @@ TEST_F(ResourceFetcherTest, RevalidateDeferedResourceFromTwoInitiators) {
EXPECT_TRUE(resource3->isCacheValidator());
EXPECT_TRUE(resource3->stillNeedsLoad());
- // startLoad() can be called from any initiator. Here, call it from the latter.
+ // startLoad() can be called from any initiator. Here, call it from the
+ // latter.
fetcher->startLoad(resource3);
Platform::current()->getURLLoaderMockFactory()->serveAsynchronousRequests();
EXPECT_TRUE(resource3->isLoaded());
@@ -393,8 +394,8 @@ class ServeRequestsOnCompleteClient final
Platform::current()->getURLLoaderMockFactory()->serveAsynchronousRequests();
}
- // No callbacks should be received except for the notifyFinished()
- // triggered by ResourceLoader::cancel().
+ // No callbacks should be received except for the notifyFinished() triggered
+ // by ResourceLoader::cancel().
void dataSent(Resource*, unsigned long long, unsigned long long) override {
ASSERT_TRUE(false);
}
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceLoaderOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698