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

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

Issue 2528483003: [Android Downloads] Long-press menu item "Download Link" should delegate job to OfflinePages backen… (Closed)
Patch Set: check for buildflag Created 4 years 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 74b75cc8deea49db1e6a302857b9493a8c6681b7..281477f868aca740583419cdf32a59c4ff68dd96 100644
--- a/chrome/browser/android/offline_pages/offline_page_utils.h
+++ b/chrome/browser/android/offline_pages/offline_page_utils.h
@@ -88,6 +88,11 @@ class OfflinePageUtils {
const PagesExistCallback& callback);
static bool EqualsIgnoringFragment(const GURL& lhs, const GURL& rhs);
+
+ static void StartOfflinePageDownload(
+ content::BrowserContext* context,
+ const GURL& url);
+
};
} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698