| 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_TRACKER_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_TRACKER_H_ |
| 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_TRACKER_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_TRACKER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 10 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
| 10 #include "components/signin/core/browser/signin_manager.h" | 11 #include "components/signin/core/browser/signin_manager.h" |
| 11 #include "google_apis/gaia/google_service_auth_error.h" | 12 #include "google_apis/gaia/google_service_auth_error.h" |
| 12 | 13 |
| 13 class ProfileOAuth2TokenService; | 14 class ProfileOAuth2TokenService; |
| 14 class SigninClient; | 15 class SigninClient; |
| 15 | 16 |
| 16 // The signin flow logic is spread across several classes with varying | 17 // The signin flow logic is spread across several classes with varying |
| 17 // responsibilities: | 18 // responsibilities: |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // The client associated with this instance. | 104 // The client associated with this instance. |
| 104 SigninClient* client_; | 105 SigninClient* client_; |
| 105 | 106 |
| 106 // Weak pointer to the observer we call when the signin state changes. | 107 // Weak pointer to the observer we call when the signin state changes. |
| 107 Observer* observer_; | 108 Observer* observer_; |
| 108 | 109 |
| 109 DISALLOW_COPY_AND_ASSIGN(SigninTracker); | 110 DISALLOW_COPY_AND_ASSIGN(SigninTracker); |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_TRACKER_H_ | 113 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_TRACKER_H_ |
| OLD | NEW |