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

Unified Diff: third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp

Issue 2653673006: Move loadType() to DocumentLoader (Closed)
Patch Set: Rebase Created 3 years, 11 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/loader/ProgressTrackerTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp b/third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp
index af9bfe40725cb362fa911e05bc73f94087ec2c62..64a20d0547309f3d005ae972c19ddf30d07d6245 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp
+++ b/third_party/WebKit/Source/core/loader/ProgressTrackerTest.cpp
@@ -52,7 +52,7 @@ class ProgressTrackerTest : public ::testing::Test {
// to ProgressTracker with identifier 1, but tests are responsible for
// emulating payload and load completion.
void emulateMainResourceRequestAndResponse() const {
- progress().progressStarted();
+ progress().progressStarted(FrameLoadTypeStandard);
progress().willStartLoading(1ul, ResourceLoadPriorityVeryHigh);
EXPECT_EQ(0.0, lastProgress());
progress().incrementProgress(1ul, responseHeaders());
@@ -66,7 +66,7 @@ class ProgressTrackerTest : public ::testing::Test {
};
TEST_F(ProgressTrackerTest, Static) {
- progress().progressStarted();
+ progress().progressStarted(FrameLoadTypeStandard);
EXPECT_EQ(0.0, lastProgress());
progress().finishedParsing();
EXPECT_EQ(1.0, lastProgress());
« no previous file with comments | « third_party/WebKit/Source/core/loader/ProgressTracker.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698