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 fb69cbf920025baad3560fc4526498e1ad435ad8..f5fac023e4e1cefc7cb6007091f2a42ebdf19a78 100644 |
--- a/chrome/browser/android/offline_pages/offline_page_utils.h |
+++ b/chrome/browser/android/offline_pages/offline_page_utils.h |
@@ -22,9 +22,6 @@ struct OfflinePageItem; |
class OfflinePageUtils { |
public: |
- // Returns true if |url| might point to an offline page. |
- static bool MightBeOfflineURL(const GURL& url); |
- |
// Returns via callback an offline page saved for |online_url|, if any. The |
// page is chosen based on creation date; a more recently created offline |
// page will be preferred over an older one. The offline page captured from |
@@ -36,26 +33,6 @@ class OfflinePageUtils { |
int tab_id, |
const base::Callback<void(const OfflinePageItem*)>& callback); |
- // Gets an online URL of an offline page with |offline_url| if one exists. |
- // Deprecated. Use |GetOnlineURLForOfflineURL|. |
- static GURL MaybeGetOnlineURLForOfflineURL( |
- content::BrowserContext* browser_context, |
- const GURL& offline_url); |
- |
- static void GetOnlineURLForOfflineURL( |
- content::BrowserContext* browser_context, |
- const GURL& offline_url, |
- const base::Callback<void(const GURL&)>& callback); |
- |
- // Checks whether |offline_url| points to an offline page. |
- // Deprecated. Use something else. |
- static bool IsOfflinePage(content::BrowserContext* browser_context, |
- const GURL& offline_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); |
- |
// Gets the offline page corresponding to the given web contents. The |
// returned pointer is owned by the web_contents and may be deleted by user |
// navigation, so it is unsafe to store a copy of the returned pointer. |