Index: chrome/browser/ui/login/login_interstitial_delegate.h |
diff --git a/chrome/browser/ui/login/login_interstitial_delegate.h b/chrome/browser/ui/login/login_interstitial_delegate.h |
index b1f6537800f7f4dd61876d1c1e8fa7f69f5d4c6a..0ae6ffcd255747d28269de924f1fa6625a1060c4 100644 |
--- a/chrome/browser/ui/login/login_interstitial_delegate.h |
+++ b/chrome/browser/ui/login/login_interstitial_delegate.h |
@@ -26,6 +26,9 @@ class AuthChallengeInfo; |
// omnibox show the correct url when the login prompt is visible. |
class LoginInterstitialDelegate : public content::InterstitialPageDelegate { |
public: |
+ // Interstitial type, used in tests. |
+ static content::InterstitialPageDelegate::TypeID kTypeForTesting; |
+ |
LoginInterstitialDelegate(content::WebContents* web_contents, |
const GURL& request_url, |
base::Closure& callback); |
@@ -34,6 +37,7 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate { |
// content::InterstitialPageDelegate: |
void CommandReceived(const std::string& command) override; |
+ content::InterstitialPageDelegate::TypeID GetTypeForTesting() const override; |
protected: |
std::string GetHTMLContents() override; |