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

Unified Diff: extensions/shell/browser/delegates/shell_kiosk_delegate.h

Issue 2370373002: Move chrome.bluetoothLowEnergy out of //chrome. (Closed)
Patch Set: build fix Created 4 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 side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/delegates/shell_kiosk_delegate.h
diff --git a/extensions/shell/browser/delegates/shell_kiosk_delegate.h b/extensions/shell/browser/delegates/shell_kiosk_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..f2be390da93148039e8ab95472534c1e52cc617f
--- /dev/null
+++ b/extensions/shell/browser/delegates/shell_kiosk_delegate.h
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef EXTENSIONS_SHELL_BROWSER_DELEGATES_SHELL_KIOSK_DELEGATE_H_
+#define EXTENSIONS_SHELL_BROWSER_DELEGATES_SHELL_KIOSK_DELEGATE_H_
+
+#include "extensions/browser/kiosk/kiosk_delegate.h"
+#include "extensions/common/extension_id.h"
+
+namespace extensions {
+
+// Delegate in AppShell that provides an extension/app API with Kiosk mode
+// functionality.
+class ShellKioskDelegate : public KioskDelegate {
+ public:
+ ShellKioskDelegate();
+ ~ShellKioskDelegate() override;
+
+ // KioskDelegate overrides:
+ bool IsAutoLaunchedKioskApp(const ExtensionId& id) const override;
+};
+
+} // namespace extensions
+
+#endif // EXTENSIONS_SHELL_BROWSER_DELEGATES_SHELL_KIOSK_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698