OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
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 EXTENSIONS_BROWSER_KIOSK_KIOSK_DELEGATE_H_ | |
6 #define EXTENSIONS_BROWSER_KIOSK_KIOSK_DELEGATE_H_ | |
7 | |
8 #include "extensions/common/extension_id.h" | |
9 | |
10 namespace extensions { | |
11 | |
12 // Delegate to provide various Kiosk mode functionality. At some point, we'll | |
13 // have the KioskAppManager outside of Chrome. We can then directly use it as | |
14 // a delegate but till then, this is class is mostly a wrapper to it. | |
asargent_no_longer_on_chrome
2016/09/28 19:58:15
typo: "this is class" -> "this class"
Rahul Chaturvedi
2016/09/28 20:26:47
Done.
| |
15 // Note: Kiosk mode is not supported on other platforms but this delegate | |
16 // needs to exist since on AppShell, KioskMode will exist on multiple | |
17 // platforms. | |
18 class KioskDelegate { | |
19 public: | |
20 KioskDelegate(); | |
21 virtual ~KioskDelegate(); | |
22 | |
23 virtual bool IsAutoLaunchedKioskApp(const ExtensionId& id) const = 0; | |
24 }; | |
25 | |
26 } // namespace extensions | |
27 | |
28 #endif // EXTENSIONS_BROWSER_KIOSK_KIOSK_DELEGATE_H_ | |
OLD | NEW |