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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 2 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 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 // Set of Users that are visible. 135 // Set of Users that are visible.
136 user_manager::UserList users_; 136 user_manager::UserList users_;
137 137
138 // Map of usernames to their current authentication type. If a user is not 138 // Map of usernames to their current authentication type. If a user is not
139 // contained in the map, it is using the default authentication type. 139 // contained in the map, it is using the default authentication type.
140 std::map<std::string, proximity_auth::ScreenlockBridge::LockHandler::AuthType> 140 std::map<std::string, proximity_auth::ScreenlockBridge::LockHandler::AuthType>
141 user_auth_type_map_; 141 user_auth_type_map_;
142 142
143 // Timer for measuring idle state duration before password clear. 143 // Timer for measuring idle state duration before password clear.
144 base::OneShotTimer<UserSelectionScreen> password_clear_timer_; 144 base::OneShotTimer password_clear_timer_;
145 145
146 // Token handler util for checking user OAuth token status. 146 // Token handler util for checking user OAuth token status.
147 scoped_ptr<TokenHandleUtil> token_handle_util_; 147 scoped_ptr<TokenHandleUtil> token_handle_util_;
148 148
149 base::WeakPtrFactory<UserSelectionScreen> weak_factory_; 149 base::WeakPtrFactory<UserSelectionScreen> weak_factory_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen); 151 DISALLOW_COPY_AND_ASSIGN(UserSelectionScreen);
152 }; 152 };
153 153
154 } // namespace chromeos 154 } // namespace chromeos
155 155
156 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_ 156 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_USER_SELECTION_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698