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

Unified Diff: chrome/browser/offline_pages/background_loader_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/offline_pages/background_loader_offliner.h
diff --git a/chrome/browser/offline_pages/background_loader_offliner.h b/chrome/browser/offline_pages/background_loader_offliner.h
index cab1a501d94d03c14cc9f975a9882390134aff73..86e5233de50fc1e779ff530d00cd9a0b532a9946 100644
--- a/chrome/browser/offline_pages/background_loader_offliner.h
+++ b/chrome/browser/offline_pages/background_loader_offliner.h
@@ -46,6 +46,9 @@ class BackgroundLoaderOffliner : public Offliner,
const ProgressCallback& progress_callback) override;
bool Cancel(const CancelCallback& callback) override;
bool HandleTimeout(int64_t request_id) override;
+ void ObserveResourceTracking(const Offliner::ResourceDataType type,
+ int64_t started_count,
+ int64_t completed_count) override;
// WebContentsObserver implementation.
void DocumentAvailableInMainFrame() override;

Powered by Google App Engine
This is Rietveld 408576698