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

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

Issue 1902443003: Redirect immediately to offline copy on no network (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and update tests Created 4 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/offline_page_utils.h
diff --git a/chrome/browser/android/offline_pages/offline_page_utils.h b/chrome/browser/android/offline_pages/offline_page_utils.h
index 3e87312cc817d5e97a8b3bfdcba5f308bc7dd60c..a70c970758dfa8cdbf4399e650b64fa618e2b06e 100644
--- a/chrome/browser/android/offline_pages/offline_page_utils.h
+++ b/chrome/browser/android/offline_pages/offline_page_utils.h
@@ -44,6 +44,10 @@ class OfflinePageUtils {
static bool HasOfflinePageForOnlineURL(
content::BrowserContext* browser_context,
const GURL& online_url);
+
+ // Marks that the offline page related to the |offline_url| has been accessed.
+ static void MarkPageAccessed(content::BrowserContext* browser_context,
+ const GURL& offline_url);
};
} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698