| 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 // The signin manager encapsulates some functionality tracking | 5 // The signin manager encapsulates some functionality tracking |
| 6 // which user is signed in. See SigninManagerBase for full description of | 6 // which user is signed in. See SigninManagerBase for full description of |
| 7 // responsibilities. The class defined in this file provides functionality | 7 // responsibilities. The class defined in this file provides functionality |
| 8 // required by all platforms except Chrome OS. | 8 // required by all platforms except Chrome OS. |
| 9 // | 9 // |
| 10 // When a user is signed in, a ClientLogin request is run on their behalf. | 10 // When a user is signed in, a ClientLogin request is run on their behalf. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 #include <set> | 24 #include <set> |
| 25 #include <string> | 25 #include <string> |
| 26 | 26 |
| 27 #include "base/compiler_specific.h" | 27 #include "base/compiler_specific.h" |
| 28 #include "base/gtest_prod_util.h" | 28 #include "base/gtest_prod_util.h" |
| 29 #include "base/logging.h" | 29 #include "base/logging.h" |
| 30 #include "base/macros.h" | 30 #include "base/macros.h" |
| 31 #include "base/memory/scoped_ptr.h" | 31 #include "base/memory/scoped_ptr.h" |
| 32 #include "base/observer_list.h" | 32 #include "base/observer_list.h" |
| 33 #include "base/prefs/pref_change_registrar.h" | |
| 34 #include "base/prefs/pref_member.h" | |
| 35 #include "build/build_config.h" | 33 #include "build/build_config.h" |
| 36 #include "components/keyed_service/core/keyed_service.h" | 34 #include "components/keyed_service/core/keyed_service.h" |
| 35 #include "components/prefs/pref_change_registrar.h" |
| 36 #include "components/prefs/pref_member.h" |
| 37 #include "components/signin/core/browser/account_info.h" | 37 #include "components/signin/core/browser/account_info.h" |
| 38 #include "components/signin/core/browser/account_tracker_service.h" | 38 #include "components/signin/core/browser/account_tracker_service.h" |
| 39 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 39 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
| 40 #include "components/signin/core/browser/signin_internals_util.h" | 40 #include "components/signin/core/browser/signin_internals_util.h" |
| 41 #include "components/signin/core/browser/signin_manager_base.h" | 41 #include "components/signin/core/browser/signin_manager_base.h" |
| 42 #include "components/signin/core/browser/signin_metrics.h" | 42 #include "components/signin/core/browser/signin_metrics.h" |
| 43 #include "net/cookies/canonical_cookie.h" | 43 #include "net/cookies/canonical_cookie.h" |
| 44 | 44 |
| 45 class GaiaCookieManagerService; | 45 class GaiaCookieManagerService; |
| 46 class GoogleServiceAuthError; | 46 class GoogleServiceAuthError; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 bool user_info_fetched_by_account_tracker_; | 239 bool user_info_fetched_by_account_tracker_; |
| 240 | 240 |
| 241 base::WeakPtrFactory<SigninManager> weak_pointer_factory_; | 241 base::WeakPtrFactory<SigninManager> weak_pointer_factory_; |
| 242 | 242 |
| 243 DISALLOW_COPY_AND_ASSIGN(SigninManager); | 243 DISALLOW_COPY_AND_ASSIGN(SigninManager); |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 #endif // !defined(OS_CHROMEOS) | 246 #endif // !defined(OS_CHROMEOS) |
| 247 | 247 |
| 248 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_MANAGER_H_ | 248 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_MANAGER_H_ |
| OLD | NEW |