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

Side by Side Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.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, 3 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_SUPERVISED_SUPERVISED_USER_CREATION_CONTRO LLER_NEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_CONTRO LLER_NEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_CONTRO LLER_NEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_CONTRO LLER_NEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Current stage of user creation. 172 // Current stage of user creation.
173 Stage stage_; 173 Stage stage_;
174 174
175 // Authenticator used for user creation. 175 // Authenticator used for user creation.
176 scoped_refptr<ExtendedAuthenticator> authenticator_; 176 scoped_refptr<ExtendedAuthenticator> authenticator_;
177 177
178 // Creation context. Not null while creating new LMU. 178 // Creation context. Not null while creating new LMU.
179 scoped_ptr<UserCreationContext> creation_context_; 179 scoped_ptr<UserCreationContext> creation_context_;
180 180
181 // Timer for showing warning if creation process takes too long. 181 // Timer for showing warning if creation process takes too long.
182 base::OneShotTimer<SupervisedUserCreationControllerNew> timeout_timer_; 182 base::OneShotTimer timeout_timer_;
183 183
184 // Factory of callbacks. 184 // Factory of callbacks.
185 base::WeakPtrFactory<SupervisedUserCreationControllerNew> weak_factory_; 185 base::WeakPtrFactory<SupervisedUserCreationControllerNew> weak_factory_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationControllerNew); 187 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationControllerNew);
188 }; 188 };
189 189
190 } // namespace chromeos 190 } // namespace chromeos
191 191
192 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_CON TROLLER_NEW_H_ 192 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_CON TROLLER_NEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698