summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/printing/print_view_manager_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/printing/print_view_manager_base.h')
-rw-r--r--chromium/chrome/browser/printing/print_view_manager_base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/chrome/browser/printing/print_view_manager_base.h b/chromium/chrome/browser/printing/print_view_manager_base.h
index 9dc22fa933e..af49d3e2f8a 100644
--- a/chromium/chrome/browser/printing/print_view_manager_base.h
+++ b/chromium/chrome/browser/printing/print_view_manager_base.h
@@ -73,6 +73,10 @@ class PrintViewManagerBase : public content::NotificationObserver,
protected:
explicit PrintViewManagerBase(content::WebContents* web_contents);
+ // Helper method for checking whether the WebContents is showing an
+ // interstitial page or is crashed.
+ bool IsInterstitialOrCrashed();
+
// Helper method for Print*Now().
bool PrintNowInternal(content::RenderFrameHost* rfh,
std::unique_ptr<IPC::Message> message);