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

Side by Side Diff: chrome/browser/chromeos/login/screens/user_selection_screen.h

Issue 935303002: [Smart Lock] Measure clicks on the lock icon during Easy Unlock's trial run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/user_selection_screen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SCREENS_USER_SELECTION_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 void Unlock(const std::string& user_email) override; 75 void Unlock(const std::string& user_email) override;
76 void AttemptEasySignin(const std::string& user_email, 76 void AttemptEasySignin(const std::string& user_email,
77 const std::string& secret, 77 const std::string& secret,
78 const std::string& key_label) override; 78 const std::string& key_label) override;
79 79
80 // UserBoardModel implementation. 80 // UserBoardModel implementation.
81 void SendUserList() override; 81 void SendUserList() override;
82 void HardLockPod(const std::string& user_id) override; 82 void HardLockPod(const std::string& user_id) override;
83 void AttemptEasyUnlock(const std::string& user_id) override; 83 void AttemptEasyUnlock(const std::string& user_id) override;
84 void RecordClickOnLockIcon(const std::string& user_id) override;
84 85
85 // Fills |user_dict| with information about |user|. 86 // Fills |user_dict| with information about |user|.
86 static void FillUserDictionary( 87 static void FillUserDictionary(
87 user_manager::User* user, 88 user_manager::User* user,
88 bool is_owner, 89 bool is_owner,
89 bool is_signin_to_add, 90 bool is_signin_to_add,
90 AuthType auth_type, 91 AuthType auth_type,
91 const std::vector<std::string>* public_session_recommended_locales, 92 const std::vector<std::string>* public_session_recommended_locales,
92 base::DictionaryValue* user_dict); 93 base::DictionaryValue* user_dict);
93 94
(...skipping 30 matching lines...) Expand all
124 125
125 // Timer for measuring idle state duration before password clear. 126 // Timer for measuring idle state duration before password clear.
126 base::OneShotTimer<UserSelectionScreen> password_clear_timer_; 127 base::OneShotTimer<UserSelectionScreen> password_clear_timer_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); 129 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen);
129 }; 130 };
130 131
131 } // namespace chromeos 132 } // namespace chromeos
132 133
133 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ 134 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/user_selection_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698