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

Unified Diff: chrome/browser/android/offline_pages/background_loader_offliner.cc

Issue 2797013002: [Offline pages] Update background loader to override the WebContentsObserver methods expected (Closed)
Patch Set: Created 3 years, 8 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/background_loader_offliner.cc
diff --git a/chrome/browser/android/offline_pages/background_loader_offliner.cc b/chrome/browser/android/offline_pages/background_loader_offliner.cc
index faf7d50e8bec4b86ba7e3bb121f8c1f8ccbc65e8..083add47622a6d94c91500260066a1448e3c931d 100644
--- a/chrome/browser/android/offline_pages/background_loader_offliner.cc
+++ b/chrome/browser/android/offline_pages/background_loader_offliner.cc
@@ -205,7 +205,7 @@ void BackgroundLoaderOffliner::DocumentLoadedInFrame(
content::RenderFrameHost* render_host) {
// Inform snapshot controller if in main frame.
if (!render_host->GetParent())
- snapshot_controller_->DocumentAvailableInMainFrame();
+ snapshot_controller_->DocumentLoadedInMainFrame();
}
void BackgroundLoaderOffliner::DidStopLoading() {
@@ -214,7 +214,7 @@ void BackgroundLoaderOffliner::DidStopLoading() {
return;
}
- snapshot_controller_->DocumentOnLoadCompletedInMainFrame();
+ snapshot_controller_->DidStopLoading();
}
void BackgroundLoaderOffliner::RenderProcessGone(

Powered by Google App Engine
This is Rietveld 408576698