Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ | 6 #define CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "components/signin/core/browser/signin_client.h" | 10 #include "components/signin/core/browser/signin_client.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 const GURL& url, | 58 const GURL& url, |
| 59 const std::string& name, | 59 const std::string& name, |
| 60 const net::CookieStore::CookieChangedCallback& callback) override; | 60 const net::CookieStore::CookieChangedCallback& callback) override; |
| 61 void OnSignedIn(const std::string& account_id, | 61 void OnSignedIn(const std::string& account_id, |
| 62 const std::string& username, | 62 const std::string& username, |
| 63 const std::string& password) override; | 63 const std::string& password) override; |
| 64 void PostSignedIn(const std::string& account_id, | 64 void PostSignedIn(const std::string& account_id, |
| 65 const std::string& username, | 65 const std::string& username, |
| 66 const std::string& password) override; | 66 const std::string& password) override; |
| 67 | 67 |
| 68 // Overridden from SigninErrorController::Observer | |
| 69 void OnErrorChanged() override; | |
|
noms (inactive)
2015/01/08 21:49:04
nit: change to "SigninErrorController::Observer im
Mike Lerman
2015/01/09 02:15:04
Done.
| |
| 70 | |
| 68 private: | 71 private: |
| 69 Profile* profile_; | 72 Profile* profile_; |
| 70 | 73 |
| 71 // See SetSigninProcess. Tracks the currently active signin process | 74 // See SetSigninProcess. Tracks the currently active signin process |
| 72 // by ID, if there is one. | 75 // by ID, if there is one. |
| 73 int signin_host_id_; | 76 int signin_host_id_; |
| 74 | 77 |
| 75 // The RenderProcessHosts being observed. | 78 // The RenderProcessHosts being observed. |
| 76 std::set<content::RenderProcessHost*> signin_hosts_observed_; | 79 std::set<content::RenderProcessHost*> signin_hosts_observed_; |
| 77 | 80 |
| 78 DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient); | 81 DISALLOW_COPY_AND_ASSIGN(ChromeSigninClient); |
| 79 }; | 82 }; |
| 80 | 83 |
| 81 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ | 84 #endif // CHROME_BROWSER_SIGNIN_CHROME_SIGNIN_CLIENT_H_ |
| OLD | NEW |