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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 16091003: Handle case in LMU creation when there are no managers available (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review Created 7 years, 6 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // for cases when extension should be loaded in the background and it 264 // for cases when extension should be loaded in the background and it
265 // shouldn't grab the focus. |offline| is true when offline version of the 265 // shouldn't grab the focus. |offline| is true when offline version of the
266 // extension should be used. 266 // extension should be used.
267 void LoadAuthExtension(bool force, bool silent_load, bool offline); 267 void LoadAuthExtension(bool force, bool silent_load, bool offline);
268 268
269 // Updates authentication extension. Called when device settings that affect 269 // Updates authentication extension. Called when device settings that affect
270 // sign-in (allow BWSI and allow whitelist) are changed. 270 // sign-in (allow BWSI and allow whitelist) are changed.
271 void UpdateAuthExtension(); 271 void UpdateAuthExtension();
272 void UpdateAddButtonStatus(); 272 void UpdateAddButtonStatus();
273 273
274 // Fill |params| that are passed to JS..
275 void UpdateAuthParams(DictionaryValue* params);
276
274 // Restore input focus to current user pod. 277 // Restore input focus to current user pod.
275 void RefocusCurrentPod(); 278 void RefocusCurrentPod();
276 279
277 // WebUI message handlers. 280 // WebUI message handlers.
278 void HandleCompleteAuthentication(const std::string& email, 281 void HandleCompleteAuthentication(const std::string& email,
279 const std::string& password, 282 const std::string& password,
280 const std::string& auth_code); 283 const std::string& auth_code);
281 void HandleCompleteLogin(const std::string& typed_email, 284 void HandleCompleteLogin(const std::string& typed_email,
282 const std::string& password); 285 const std::string& password);
283 void HandleGetUsers(); 286 void HandleGetUsers();
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 449
447 // Testing helper, specifies new value for gaia url. 450 // Testing helper, specifies new value for gaia url.
448 GURL gaia_url_for_test_; 451 GURL gaia_url_for_test_;
449 452
450 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 453 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
451 }; 454 };
452 455
453 } // namespace chromeos 456 } // namespace chromeos
454 457
455 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 458 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698