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

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

Issue 419013003: Replace c/b/nss_context by a KeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Flattened components/cert_database folders. Created 6 years, 1 month 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 | Annotate | Revision Log
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // UserSessionManager finished restoring user sessions. 133 // UserSessionManager finished restoring user sessions.
134 bool UserSessionsRestored() const; 134 bool UserSessionsRestored() const;
135 135
136 // Returns true iff browser has been restarted after crash and 136 // Returns true iff browser has been restarted after crash and
137 // user sessions restoration is in progress. 137 // user sessions restoration is in progress.
138 bool UserSessionsRestoreInProgress() const; 138 bool UserSessionsRestoreInProgress() const;
139 139
140 // Initialize RLZ. 140 // Initialize RLZ.
141 void InitRlz(Profile* profile); 141 void InitRlz(Profile* profile);
142 142
143 // Get the NSS cert database for the user represented with |profile|
144 // and start certificate loader with it.
145 void InitializeCerts(Profile* profile);
146
147 // TODO(nkostylev): Drop these methods once LoginUtilsImpl::AttemptRestart() 143 // TODO(nkostylev): Drop these methods once LoginUtilsImpl::AttemptRestart()
148 // is migrated. 144 // is migrated.
149 OAuth2LoginManager::SessionRestoreStrategy GetSigninSessionRestoreStrategy(); 145 OAuth2LoginManager::SessionRestoreStrategy GetSigninSessionRestoreStrategy();
150 bool exit_after_session_restore() { return exit_after_session_restore_; } 146 bool exit_after_session_restore() { return exit_after_session_restore_; }
151 void set_exit_after_session_restore(bool value) { 147 void set_exit_after_session_restore(bool value) {
152 exit_after_session_restore_ = value; 148 exit_after_session_restore_ = value;
153 } 149 }
154 150
155 // Invoked when the user is logging in for the first time, or is logging in to 151 // Invoked when the user is logging in for the first time, or is logging in to
156 // an ephemeral session type, such as guest or a public session. 152 // an ephemeral session type, such as guest or a public session.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 scoped_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_; 347 scoped_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_;
352 bool running_easy_unlock_key_ops_; 348 bool running_easy_unlock_key_ops_;
353 base::Closure easy_unlock_key_ops_finished_callback_; 349 base::Closure easy_unlock_key_ops_finished_callback_;
354 350
355 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); 351 DISALLOW_COPY_AND_ASSIGN(UserSessionManager);
356 }; 352 };
357 353
358 } // namespace chromeos 354 } // namespace chromeos
359 355
360 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ 356 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698