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

Unified Diff: extensions/shell/browser/shell_extensions_browser_client.cc

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/shell_extensions_browser_client.cc
diff --git a/extensions/shell/browser/shell_extensions_browser_client.cc b/extensions/shell/browser/shell_extensions_browser_client.cc
index 6a935ede42a9d26f8dc599072187d62f440481ec..e832a947ba26edd863b9b0c34c917b365a41a977 100644
--- a/extensions/shell/browser/shell_extensions_browser_client.cc
+++ b/extensions/shell/browser/shell_extensions_browser_client.cc
@@ -20,6 +20,7 @@
#include "extensions/browser/updater/null_extension_cache.h"
#include "extensions/browser/url_request_util.h"
#include "extensions/shell/browser/api/generated_api_registration.h"
+#include "extensions/shell/browser/delegates/shell_kiosk_delegate.h"
#include "extensions/shell/browser/shell_extension_host_delegate.h"
#include "extensions/shell/browser/shell_extension_system_factory.h"
#include "extensions/shell/browser/shell_extension_web_contents_observer.h"
@@ -244,4 +245,10 @@ ShellExtensionsBrowserClient::GetExtensionWebContentsObserver(
return ShellExtensionWebContentsObserver::FromWebContents(web_contents);
}
+KioskDelegate* ShellExtensionsBrowserClient::GetKioskDelegate() {
+ if (!kiosk_delegate_)
+ kiosk_delegate_.reset(new ShellKioskDelegate());
+ return kiosk_delegate_.get();
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698