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

Unified Diff: chrome/browser/android/offline_pages/prerendering_offliner.h

Issue 2857063002: Add a way to send the resource percentage signal to the RC. (Closed)
Patch Set: CR Feedback per Dimich, BMcQuade, and CSHarrison Created 3 years, 7 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: chrome/browser/android/offline_pages/prerendering_offliner.h
diff --git a/chrome/browser/android/offline_pages/prerendering_offliner.h b/chrome/browser/android/offline_pages/prerendering_offliner.h
index e7a934e4053c5041841af364daf1eb6ff7dc77d1..7224203ee747d10118a268d95ca80627631a9af4 100644
--- a/chrome/browser/android/offline_pages/prerendering_offliner.h
+++ b/chrome/browser/android/offline_pages/prerendering_offliner.h
@@ -39,6 +39,9 @@ class PrerenderingOffliner : public Offliner {
const ProgressCallback& progress_callback) override;
bool Cancel(const CancelCallback& callback) override;
bool HandleTimeout(int64_t request_id) override;
+ void ObserveResourceTracking(const ResourceDataType type,
+ int64_t started_count,
+ int64_t completed_count) override;
// Allows a loader to be injected for testing. This may only be done once
// and must be called before any of the Offliner interface methods are called.

Powered by Google App Engine
This is Rietveld 408576698