Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3217)

Unified Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.h

Issue 1220843003: Perform online reauth when password is changed for a locked profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.h
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
index f1f3044372c210985d7379b2a9db994eda4f49df..f58249d2c0fb7dce969c4ee8c2c3a58c013c8aa4 100644
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h
@@ -19,7 +19,6 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_ui_message_handler.h"
-#include "google_apis/gaia/gaia_auth_consumer.h"
#include "google_apis/gaia/gaia_oauth_client.h"
class GaiaAuthFetcher;
@@ -33,7 +32,6 @@ class ListValue;
class UserManagerScreenHandler
: public content::WebUIMessageHandler,
public proximity_auth::ScreenlockBridge::LockHandler,
- public GaiaAuthConsumer,
public gaia::GaiaOAuthClient::Delegate,
public content::NotificationObserver {
public:
@@ -88,9 +86,6 @@ class UserManagerScreenHandler
scoped_ptr<base::DictionaryValue> token_info) override;
void OnOAuthError() override;
void OnNetworkError(int response_code) override;
- // ClientLogin is deprecated
- void OnClientLoginSuccess(const ClientLoginResult& result) override;
- void OnClientLoginFailure(const GoogleServiceAuthError& error) override;
// Handle when Notified of a NOTIFICATION_BROWSER_WINDOW_READY event.
void OnBrowserWindowReady(Browser* browser);
@@ -115,10 +110,9 @@ class UserManagerScreenHandler
// Authenticator used when local-auth fails.
scoped_ptr<gaia::GaiaOAuthClient> oauth_client_;
- scoped_ptr<GaiaAuthFetcher> client_login_;
- // The index of the profile currently being authenticated.
- size_t authenticating_profile_index_;
+ // The path of the profile currently being authenticated.
+ base::FilePath authenticating_profile_path_;
// Login email and password, held during on-line auth for later use.
base::string16 email_address_;

Powered by Google App Engine
This is Rietveld 408576698