Index: chrome/browser/ui/sync/one_click_signin_helper.h |
diff --git a/chrome/browser/ui/sync/one_click_signin_helper.h b/chrome/browser/ui/sync/one_click_signin_helper.h |
index c80816daeefee41633964e724f58589ed08145ad..25d174213b84895dbffba274a38bf46802a0e7db 100644 |
--- a/chrome/browser/ui/sync/one_click_signin_helper.h |
+++ b/chrome/browser/ui/sync/one_click_signin_helper.h |
@@ -171,10 +171,6 @@ class OneClickSigninHelper |
static void LogHistogramValue(signin::Source source, int action); |
- static void CreateForWebContentsWithPasswordManager( |
- content::WebContents* contents, |
- password_manager::PasswordManager* password_manager); |
- |
// Returns true if the one-click signin feature can be offered at this time. |
// If |email| is not empty, then the profile is checked to see if it's |
// already connected to a google account or if the user has already rejected |
@@ -282,8 +278,7 @@ class OneClickSigninHelper |
// SAML-based accounts, but causes bug crbug.com/181163. |
static const int kMaxNavigationsSince; |
- OneClickSigninHelper(content::WebContents* web_contents, |
- password_manager::PasswordManager* password_manager); |
+ explicit OneClickSigninHelper(content::WebContents* web_contents); |
~OneClickSigninHelper() override; |
@@ -332,6 +327,7 @@ class OneClickSigninHelper |
void PasswordSubmitted(const autofill::PasswordForm& form); |
// content::WebContentsObserver overrides. |
+ void RenderFrameCreated(content::RenderFrameHost* render_frame_host) override; |
void DidStartNavigationToPendingEntry( |
const GURL& url, |
content::NavigationController::ReloadType reload_type) override; |