| 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 80488713afd8e75ef1b5dad32c4fd79aabb447c0..d068b3ca30f5fda86cfb6e06da43c8ab9c6e3e2c 100644
|
| --- a/chrome/browser/android/offline_pages/offline_page_utils.h
|
| +++ b/chrome/browser/android/offline_pages/offline_page_utils.h
|
| @@ -37,20 +37,23 @@ class OfflinePageUtils {
|
| // 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.
|
| static const OfflinePageItem* GetOfflinePageFromWebContents(
|
| content::WebContents* web_contents);
|
|
|
| // Gets the offline header provided when loading the offline page for the
|
| // given web contents.
|
| static const OfflinePageHeader* GetOfflineHeaderFromWebContents(
|
| content::WebContents* web_contents);
|
|
|
| + // Returns true if the offline page is shown for previewing purpose.
|
| + static bool IsShowingOfflinePreview(content::WebContents* web_contents);
|
| +
|
| // Gets an Android Tab ID from a tab containing |web_contents|. Returns false,
|
| // when tab is not available. Returns true otherwise and sets |tab_id| to the
|
| // ID of the tab.
|
| static bool GetTabId(content::WebContents* web_contents, int* tab_id);
|
|
|
| static void CheckExistenceOfPagesWithURL(
|
| content::BrowserContext* browser_context,
|
| const std::string name_space,
|
| const GURL& offline_url,
|
| const base::Callback<void(bool)>& callback);
|
|
|