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

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: Added a simple test and changes per asanka's comments 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 9e7e2924b46926b774738f95d1baa21cf058d67b..60f941797fd049f3652b298ba405948957fc9aeb 100644
--- a/chrome/browser/android/offline_pages/offline_page_utils.h
+++ b/chrome/browser/android/offline_pages/offline_page_utils.h
@@ -88,6 +88,9 @@ 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