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..773416bb481a7ca8554a0ae66729eac1b2eff24c 100644 |
--- a/chrome/browser/android/offline_pages/offline_page_utils.h |
+++ b/chrome/browser/android/offline_pages/offline_page_utils.h |
@@ -60,6 +60,10 @@ class OfflinePageUtils { |
// Returns true if the offline page is shown for previewing purpose. |
static bool IsShowingOfflinePreview(content::WebContents* web_contents); |
+ // Returns true if download button is shown in the error page. |
+ static bool IsShowingDownloadButtonInErrorPage( |
+ 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. |