OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
Lei Zhang
2014/02/11 22:13:59
2014
rkc
2014/02/11 22:37:38
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DEMO_MODE_DEMO_APP_LAUNCHER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_DEMO_MODE_DEMO_APP_LAUNCHER_H_ | |
7 | |
8 #include "chrome/browser/chromeos/app_mode/kiosk_profile_loader.h" | |
9 | |
10 class Profile; | |
11 | |
12 namespace chromeos { | |
13 | |
14 // Class responsible for launching the demo app under a kiosk session. | |
15 class DemoAppLauncher : public KioskProfileLoader::Delegate { | |
16 public: | |
17 DemoAppLauncher(); | |
18 virtual ~DemoAppLauncher(); | |
19 | |
20 void StartDemoAppLaunch(); | |
21 | |
22 private: | |
23 // KioskProfileLoader::Delegate overrides: | |
24 virtual void OnProfileLoaded(Profile* profile) OVERRIDE; | |
25 virtual void OnProfileLoadFailed(KioskAppLaunchError::Error error) OVERRIDE; | |
26 | |
27 Profile* profile_; | |
28 scoped_ptr<KioskProfileLoader> kiosk_profile_loader_; | |
Lei Zhang
2014/02/11 22:13:59
#include "base/memory/scoped_ptr.h"
rkc
2014/02/11 22:37:38
Done.
| |
29 | |
30 DISALLOW_COPY_AND_ASSIGN(DemoAppLauncher); | |
31 }; | |
32 | |
33 } // namespace chromeos | |
34 | |
35 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_DEMO_MODE_DEMO_APP_LAUNCHER_H_ | |
OLD | NEW |