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

Unified Diff: components/offline_pages/core/downloads/download_ui_adapter.h

Issue 2711693002: [Offline Pages] Make prerenderer notify us of network progress. (Closed)
Patch Set: last minute fixes Created 3 years, 10 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: components/offline_pages/core/downloads/download_ui_adapter.h
diff --git a/components/offline_pages/core/downloads/download_ui_adapter.h b/components/offline_pages/core/downloads/download_ui_adapter.h
index abf413a139e814ef4480f9766b8916a31590c9ec..f0ecbd6a967d0845a09aaa70ef35e778eb21d875 100644
--- a/components/offline_pages/core/downloads/download_ui_adapter.h
+++ b/components/offline_pages/core/downloads/download_ui_adapter.h
@@ -95,6 +95,7 @@ class DownloadUIAdapter : public OfflinePageModel::Observer,
// via Observer or directly by the user (as in 'open').
void DeleteItem(const std::string& guid);
int64_t GetOfflineIdByGuid(const std::string& guid) const;
+ void UpdateProgress(int64_t offline_id, int64_t bytes);
// OfflinePageModel::Observer
void OfflinePageModelLoaded(OfflinePageModel* model) override;

Powered by Google App Engine
This is Rietveld 408576698