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

Side by Side Diff: chrome/browser/chromeos/login/app_launch_controller.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 scoped_ptr<KioskProfileLoader> kiosk_profile_loader_; 121 scoped_ptr<KioskProfileLoader> kiosk_profile_loader_;
122 scoped_ptr<StartupAppLauncher> startup_app_launcher_; 122 scoped_ptr<StartupAppLauncher> startup_app_launcher_;
123 scoped_ptr<AppLaunchSigninScreen> signin_screen_; 123 scoped_ptr<AppLaunchSigninScreen> signin_screen_;
124 scoped_ptr<AppWindowWatcher> app_window_watcher_; 124 scoped_ptr<AppWindowWatcher> app_window_watcher_;
125 125
126 content::NotificationRegistrar registrar_; 126 content::NotificationRegistrar registrar_;
127 bool webui_visible_; 127 bool webui_visible_;
128 bool launcher_ready_; 128 bool launcher_ready_;
129 129
130 // A timer to ensure the app splash is shown for a minimum amount of time. 130 // A timer to ensure the app splash is shown for a minimum amount of time.
131 base::OneShotTimer<AppLaunchController> splash_wait_timer_; 131 base::OneShotTimer splash_wait_timer_;
132 132
133 base::OneShotTimer<AppLaunchController> network_wait_timer_; 133 base::OneShotTimer network_wait_timer_;
134 bool waiting_for_network_; 134 bool waiting_for_network_;
135 bool network_wait_timedout_; 135 bool network_wait_timedout_;
136 bool showing_network_dialog_; 136 bool showing_network_dialog_;
137 bool network_config_requested_; 137 bool network_config_requested_;
138 int64 launch_splash_start_time_; 138 int64 launch_splash_start_time_;
139 139
140 static bool skip_splash_wait_; 140 static bool skip_splash_wait_;
141 static int network_wait_time_; 141 static int network_wait_time_;
142 static base::Closure* network_timeout_callback_; 142 static base::Closure* network_timeout_callback_;
143 static ReturnBoolCallback* can_configure_network_callback_; 143 static ReturnBoolCallback* can_configure_network_callback_;
144 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_; 144 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_;
145 145
146 DISALLOW_COPY_AND_ASSIGN(AppLaunchController); 146 DISALLOW_COPY_AND_ASSIGN(AppLaunchController);
147 }; 147 };
148 148
149 } // namespace chromeos 149 } // namespace chromeos
150 150
151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ 151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/idle_detector.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698