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

Unified Diff: ios/chrome/browser/reading_list/reading_list_distiller_page.h

Issue 2649263007: [ReadingList Offline] Handle AMP pages after the rendering delay. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | ios/chrome/browser/reading_list/reading_list_distiller_page.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/reading_list/reading_list_distiller_page.h
diff --git a/ios/chrome/browser/reading_list/reading_list_distiller_page.h b/ios/chrome/browser/reading_list/reading_list_distiller_page.h
index 8ebbfc80d42a8075b9b29628af6be86ddd660ff1..44d29cab0651fea7ff6c2699245e9ce5b5f831ce 100644
--- a/ios/chrome/browser/reading_list/reading_list_distiller_page.h
+++ b/ios/chrome/browser/reading_list/reading_list_distiller_page.h
@@ -60,9 +60,9 @@ class ReadingListDistillerPage : public dom_distiller::DistillerPageIOS {
// triggers a navigation to it. Stop distillation of the page there as the new
// load will trigger a new distillation.
bool HandleGoogleCachedAMPPageJavaScriptResult(id result, id error);
-
- // Waits a delay then calls DelayedOnLoadURLDone.
- void WaitForPageLoadCompletion();
+ // Continue the distillation on the page that is currently loaded in
+ // |CurrentWebState()|.
+ void ContinuePageDistillation();
// Continues distillation by calling superclass |OnLoadURLDone|.
void DelayedOnLoadURLDone();
« no previous file with comments | « no previous file | ios/chrome/browser/reading_list/reading_list_distiller_page.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698