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

Side by Side Diff: chrome/browser/chromeos/login/app_launch_controller.h

Issue 900553006: Updated KioskAppManager to track whether an app was auto-launched. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment cleanup 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
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 27 matching lines...) Expand all
38 public: 38 public:
39 typedef base::Callback<bool()> ReturnBoolCallback; 39 typedef base::Callback<bool()> ReturnBoolCallback;
40 40
41 AppLaunchController(const std::string& app_id, 41 AppLaunchController(const std::string& app_id,
42 bool diagnostic_mode, 42 bool diagnostic_mode,
43 LoginDisplayHost* host, 43 LoginDisplayHost* host,
44 OobeDisplay* oobe_display); 44 OobeDisplay* oobe_display);
45 45
46 ~AppLaunchController() override; 46 ~AppLaunchController() override;
47 47
48 void StartAppLaunch(); 48 // Starts launching an app - set |auto_launch| to true if the app is being
49 // auto-launched.
50 void StartAppLaunch(bool auto_launch);
49 51
50 bool waiting_for_network() { return waiting_for_network_; } 52 bool waiting_for_network() { return waiting_for_network_; }
51 bool network_wait_timedout() { return network_wait_timedout_; } 53 bool network_wait_timedout() { return network_wait_timedout_; }
52 bool showing_network_dialog() { return showing_network_dialog_; } 54 bool showing_network_dialog() { return showing_network_dialog_; }
53 55
54 // Customize controller for testing purposes. 56 // Customize controller for testing purposes.
55 static void SkipSplashWaitForTesting(); 57 static void SkipSplashWaitForTesting();
56 static void SetNetworkTimeoutCallbackForTesting(base::Closure* callback); 58 static void SetNetworkTimeoutCallbackForTesting(base::Closure* callback);
57 static void SetNetworkWaitForTesting(int wait_time_secs); 59 static void SetNetworkWaitForTesting(int wait_time_secs);
58 static void SetCanConfigureNetworkCallbackForTesting( 60 static void SetCanConfigureNetworkCallbackForTesting(
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 static base::Closure* network_timeout_callback_; 141 static base::Closure* network_timeout_callback_;
140 static ReturnBoolCallback* can_configure_network_callback_; 142 static ReturnBoolCallback* can_configure_network_callback_;
141 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_; 143 static ReturnBoolCallback* need_owner_auth_to_configure_network_callback_;
142 144
143 DISALLOW_COPY_AND_ASSIGN(AppLaunchController); 145 DISALLOW_COPY_AND_ASSIGN(AppLaunchController);
144 }; 146 };
145 147
146 } // namespace chromeos 148 } // namespace chromeos
147 149
148 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_ 150 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698