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

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

Issue 2208583006: UMA for pin unlock success/failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 9 errors. Created 4 years, 4 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 <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 // Restore input focus to current user pod. 335 // Restore input focus to current user pod.
336 void RefocusCurrentPod(); 336 void RefocusCurrentPod();
337 337
338 // Hides the PIN keyboard if it is no longer available. 338 // Hides the PIN keyboard if it is no longer available.
339 void HidePinKeyboardIfNeeded(const AccountId& account_id); 339 void HidePinKeyboardIfNeeded(const AccountId& account_id);
340 340
341 // WebUI message handlers. 341 // WebUI message handlers.
342 void HandleGetUsers(); 342 void HandleGetUsers();
343 void HandleAuthenticateUser(const AccountId& account_id, 343 void HandleAuthenticateUser(const AccountId& account_id,
344 const std::string& password); 344 const std::string& password,
345 bool authenticated_by_pin);
345 void HandleAttemptUnlock(const std::string& username); 346 void HandleAttemptUnlock(const std::string& username);
346 void HandleLaunchIncognito(); 347 void HandleLaunchIncognito();
347 void HandleLaunchPublicSession(const AccountId& account_id, 348 void HandleLaunchPublicSession(const AccountId& account_id,
348 const std::string& locale, 349 const std::string& locale,
349 const std::string& input_method); 350 const std::string& input_method);
350 void HandleOfflineLogin(const base::ListValue* args); 351 void HandleOfflineLogin(const base::ListValue* args);
351 void HandleShutdownSystem(); 352 void HandleShutdownSystem();
352 void HandleLoadWallpaper(const AccountId& account_id); 353 void HandleLoadWallpaper(const AccountId& account_id);
353 void HandleRebootSystem(); 354 void HandleRebootSystem();
354 void HandleRemoveUser(const AccountId& account_id); 355 void HandleRemoveUser(const AccountId& account_id);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 std::unique_ptr<LoginFeedback> login_feedback_; 514 std::unique_ptr<LoginFeedback> login_feedback_;
514 515
515 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 516 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
516 517
517 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 518 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
518 }; 519 };
519 520
520 } // namespace chromeos 521 } // namespace chromeos
521 522
522 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 523 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698