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 60f941797fd049f3652b298ba405948957fc9aeb..85f61b60c5a7acc47e4c42aedf73f8134e9c1531 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. |