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

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

Issue 8113025: base::Bind: More converts, mostly in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h"
12 #include "base/task.h" 13 #include "base/task.h"
13 #include "chrome/browser/browsing_data_remover.h" 14 #include "chrome/browser/browsing_data_remover.h"
14 #include "chrome/browser/chromeos/login/help_app_launcher.h" 15 #include "chrome/browser/chromeos/login/help_app_launcher.h"
15 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 16 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
16 #include "content/browser/webui/web_ui.h" 17 #include "content/browser/webui/web_ui.h"
17 18
18 class BrowsingDataRemover; 19 class BrowsingDataRemover;
19 20
20 namespace base { 21 namespace base {
21 class DictionaryValue; 22 class DictionaryValue;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 194
194 // True if cookie jar cleanup is done. 195 // True if cookie jar cleanup is done.
195 bool cookies_cleared_; 196 bool cookies_cleared_;
196 197
197 // True if new user sign in flow is driven by the extension. 198 // True if new user sign in flow is driven by the extension.
198 bool extension_driven_; 199 bool extension_driven_;
199 200
200 // Help application used for help dialogs. 201 // Help application used for help dialogs.
201 scoped_refptr<HelpAppLauncher> help_app_; 202 scoped_refptr<HelpAppLauncher> help_app_;
202 203
203 // Network state infromer used to keep offline message screen up. 204 // Network state informer used to keep offline message screen up.
204 scoped_ptr<NetworkStateInformer> network_state_informer_; 205 scoped_ptr<NetworkStateInformer> network_state_informer_;
205 206
206 // Email to pre-populate with. 207 // Email to pre-populate with.
207 std::string email_; 208 std::string email_;
208 209
209 // Test credentials. 210 // Test credentials.
210 std::string test_user_; 211 std::string test_user_;
211 std::string test_pass_; 212 std::string test_pass_;
212 213
213 BrowsingDataRemover* cookie_remover_; 214 BrowsingDataRemover* cookie_remover_;
214 215
215 ScopedRunnableMethodFactory<SigninScreenHandler> method_factory_; 216 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
216 217
217 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 218 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
218 }; 219 };
219 220
220 } // namespace chromeos 221 } // namespace chromeos
221 222
222 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 223 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698