Index: chrome/browser/ui/apps/chrome_shell_window_delegate.cc |
diff --git a/chrome/browser/ui/apps/chrome_shell_window_delegate.cc b/chrome/browser/ui/apps/chrome_shell_window_delegate.cc |
index c77bd5d814aa91bbf318a507cde3a0307219f473..151ccc2c33d1ade23666772ba9919efffcc09a39 100644 |
--- a/chrome/browser/ui/apps/chrome_shell_window_delegate.cc |
+++ b/chrome/browser/ui/apps/chrome_shell_window_delegate.cc |
@@ -59,10 +59,16 @@ ChromeShellWindowDelegate::ChromeShellWindowDelegate() {} |
ChromeShellWindowDelegate::~ChromeShellWindowDelegate() {} |
+// static |
void ChromeShellWindowDelegate::DisableExternalOpenForTesting() { |
disable_external_open_for_testing_ = true; |
} |
+// static |
+void ChromeShellWindowDelegate::EnableExternalOpenForTesting() { |
+ disable_external_open_for_testing_ = false; |
+} |
+ |
void ChromeShellWindowDelegate::InitWebContents( |
content::WebContents* web_contents) { |
FaviconTabHelper::CreateForWebContents(web_contents); |