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

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

Issue 686863002: Revert "Revert of Revert of Revert of ChromeOS NetworkScreenHandler should not call CheckAndResolve… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 std::string* chrome_client_secret); 165 std::string* chrome_client_secret);
166 void SetAppModeChromeClientOAuthInfo( 166 void SetAppModeChromeClientOAuthInfo(
167 const std::string& chrome_client_id, 167 const std::string& chrome_client_id,
168 const std::string& chrome_client_secret); 168 const std::string& chrome_client_secret);
169 169
170 // Changes browser locale (selects best suitable locale from different 170 // Changes browser locale (selects best suitable locale from different
171 // user settings). Returns true if callback will be called. 171 // user settings). Returns true if callback will be called.
172 bool RespectLocalePreference( 172 bool RespectLocalePreference(
173 Profile* profile, 173 Profile* profile,
174 const user_manager::User* user, 174 const user_manager::User* user,
175 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const; 175 const locale_util::SwitchLanguageCallback& callback) const;
176 176
177 // Returns true if Easy unlock keys needs to be updated. 177 // Returns true if Easy unlock keys needs to be updated.
178 bool NeedsToUpdateEasyUnlockKeys() const; 178 bool NeedsToUpdateEasyUnlockKeys() const;
179 179
180 // Returns true if there are pending Easy unlock key operations and 180 // Returns true if there are pending Easy unlock key operations and
181 // |callback| will be invoked when it is done. 181 // |callback| will be invoked when it is done.
182 bool CheckEasyUnlockKeyOps(const base::Closure& callback); 182 bool CheckEasyUnlockKeyOps(const base::Closure& callback);
183 183
184 void AddSessionStateObserver(chromeos::UserSessionStateObserver* observer); 184 void AddSessionStateObserver(chromeos::UserSessionStateObserver* observer);
185 void RemoveSessionStateObserver(chromeos::UserSessionStateObserver* observer); 185 void RemoveSessionStateObserver(chromeos::UserSessionStateObserver* observer);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 scoped_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_; 351 scoped_ptr<EasyUnlockKeyManager> easy_unlock_key_manager_;
352 bool running_easy_unlock_key_ops_; 352 bool running_easy_unlock_key_ops_;
353 base::Closure easy_unlock_key_ops_finished_callback_; 353 base::Closure easy_unlock_key_ops_finished_callback_;
354 354
355 DISALLOW_COPY_AND_ASSIGN(UserSessionManager); 355 DISALLOW_COPY_AND_ASSIGN(UserSessionManager);
356 }; 356 };
357 357
358 } // namespace chromeos 358 } // namespace chromeos
359 359
360 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_ 360 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_USER_SESSION_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/session/user_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698