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

Side by Side Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 1108983002: Fetch policy with refresh token. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix user_cloud_policy_manager_chromeos_unittest Created 5 years, 7 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 unified diff | Download patch
OLDNEW
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"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // Update Easy unlock cryptohome keys for given user context. 224 // Update Easy unlock cryptohome keys for given user context.
225 void UpdateEasyUnlockKeys(const UserContext& user_context); 225 void UpdateEasyUnlockKeys(const UserContext& user_context);
226 226
227 // Returns the auth request context associated with auth data. 227 // Returns the auth request context associated with auth data.
228 net::URLRequestContextGetter* GetAuthRequestContext() const; 228 net::URLRequestContextGetter* GetAuthRequestContext() const;
229 229
230 // Removes a profile from the per-user input methods states map. 230 // Removes a profile from the per-user input methods states map.
231 void RemoveProfileForTesting(Profile* profile); 231 void RemoveProfileForTesting(Profile* profile);
232 232
233 const UserContext& user_context() const { return user_context_; }
233 bool has_auth_cookies() const { return has_auth_cookies_; } 234 bool has_auth_cookies() const { return has_auth_cookies_; }
234 235
235 private: 236 private:
236 friend class test::UserSessionManagerTestApi; 237 friend class test::UserSessionManagerTestApi;
237 friend struct DefaultSingletonTraits<UserSessionManager>; 238 friend struct DefaultSingletonTraits<UserSessionManager>;
238 239
239 typedef std::set<std::string> SigninSessionRestoreStateSet; 240 typedef std::set<std::string> SigninSessionRestoreStateSet;
240 241
241 UserSessionManager(); 242 UserSessionManager();
242 ~UserSessionManager() override; 243 ~UserSessionManager() override;
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 bool waiting_for_child_account_status_; 451 bool waiting_for_child_account_status_;
451 452
452 base::WeakPtrFactory<UserSessionManager> weak_factory_; 453 base::WeakPtrFactory<UserSessionManager> weak_factory_;
453 454
454 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); 455 DISALLOW_COPY_AND_ASSIGN(UserSessionManager);
455 }; 456 };
456 457
457 } // namespace chromeos 458 } // namespace chromeos
458 459
459 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ 460 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698