| 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 5e74803cb26fae1be1b8cfe8b4312c1d3c0864b7..fb69cbf920025baad3560fc4526498e1ad435ad8 100644
|
| --- a/chrome/browser/android/offline_pages/offline_page_utils.h
|
| +++ b/chrome/browser/android/offline_pages/offline_page_utils.h
|
| @@ -17,6 +17,7 @@ class WebContents;
|
| }
|
|
|
| namespace offline_pages {
|
| +struct OfflinePageHeader;
|
| struct OfflinePageItem;
|
|
|
| class OfflinePageUtils {
|
| @@ -61,6 +62,11 @@ class OfflinePageUtils {
|
| 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);
|
| +
|
| // 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.
|
|
|