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

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

Issue 2557053002: Use LocalFrame::client() than getting the FrameLoader and then call client() on it. (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/ProgressTracker.h
diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.h b/third_party/WebKit/Source/core/loader/ProgressTracker.h
index 46dd165f841c0d822fa93e006bb2819416d9335d..3ecbe248d3a1bf5f636ffcbd1545cf220a214750 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.h
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.h
@@ -37,6 +37,7 @@
namespace blink {
+class FrameLoaderClient;
class LocalFrame;
class ResourceResponse;
struct ProgressItem;
@@ -70,8 +71,8 @@ class CORE_EXPORT ProgressTracker final
private:
explicit ProgressTracker(LocalFrame*);
- void incrementProgressForMainResourceOnly(unsigned long identifier,
- int length);
+ FrameLoaderClient* frameLoaderClient() const;
+
void maybeSendProgress();
void sendFinalProgress();
void reset();
« 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