| 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_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/chromeos/base/locale_util.h" | 13 #include "chrome/browser/chromeos/base/locale_util.h" |
| 14 #include "chrome/browser/chromeos/login/auth/authenticator.h" | 14 #include "chrome/browser/chromeos/login/auth/authenticator.h" |
| 15 #include "chrome/browser/chromeos/login/auth/user_context.h" | |
| 16 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h" | 15 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h" |
| 17 #include "chrome/browser/chromeos/login/users/user.h" | 16 #include "chrome/browser/chromeos/login/users/user.h" |
| 17 #include "chromeos/login/auth/user_context.h" |
| 18 #include "net/base/network_change_notifier.h" | 18 #include "net/base/network_change_notifier.h" |
| 19 | 19 |
| 20 class PrefRegistrySimple; | 20 class PrefRegistrySimple; |
| 21 class PrefService; | 21 class PrefService; |
| 22 class Profile; | 22 class Profile; |
| 23 | 23 |
| 24 namespace chromeos { | 24 namespace chromeos { |
| 25 | 25 |
| 26 // UserSessionManager is responsible for starting user session which includes: | 26 // UserSessionManager is responsible for starting user session which includes: |
| 27 // load and initialize Profile (including custom Profile preferences), | 27 // load and initialize Profile (including custom Profile preferences), |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // Chrome oauth client id and secret - override values for kiosk mode. | 199 // Chrome oauth client id and secret - override values for kiosk mode. |
| 200 std::string chrome_client_id_; | 200 std::string chrome_client_id_; |
| 201 std::string chrome_client_secret_; | 201 std::string chrome_client_secret_; |
| 202 | 202 |
| 203 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); | 203 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace chromeos | 206 } // namespace chromeos |
| 207 | 207 |
| 208 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ | 208 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ |
| OLD | NEW |