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

Unified Diff: third_party/WebKit/Source/core/loader/ProgressTracker.h

Issue 2340603002: For more aggressive progress bar completion strategies, only count high priority resources (Closed)
Patch Set: Created 4 years, 3 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/ProgressTracker.h
diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.h b/third_party/WebKit/Source/core/loader/ProgressTracker.h
index 1524a1f535f3e3a5b137684ce87d884203d8314a..20355ea8f968f0f719e46bb204e403b34cb03957 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.h
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.h
@@ -28,6 +28,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
+#include "platform/network/ResourceLoadPriority.h"
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
@@ -60,7 +61,7 @@ public:
void finishedParsing();
- void willStartLoading(unsigned long identifier);
+ void willStartLoading(unsigned long identifier, ResourceLoadPriority);
void incrementProgress(unsigned long identifier, const ResourceResponse&);
void incrementProgress(unsigned long identifier, int);
void completeProgress(unsigned long identifier);
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | third_party/WebKit/Source/core/loader/ProgressTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698