| 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 36fa3e3e48acb6998d9fb7f22fbdbe8869fe50c9..1244f4abf6cc692ed67e44186475e21c8b0f94d0 100644
|
| --- a/extensions/shell/browser/shell_extensions_browser_client.cc
|
| +++ b/extensions/shell/browser/shell_extensions_browser_client.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/memory/ptr_util.h"
|
| #include "build/build_config.h"
|
| +#include "components/version_info/version_info.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/render_frame_host.h"
|
| @@ -20,6 +21,7 @@
|
| #include "extensions/browser/null_app_sorting.h"
|
| #include "extensions/browser/updater/null_extension_cache.h"
|
| #include "extensions/browser/url_request_util.h"
|
| +#include "extensions/common/features/feature_channel.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"
|
| @@ -45,6 +47,9 @@ ShellExtensionsBrowserClient::ShellExtensionsBrowserClient(
|
| pref_service_(pref_service),
|
| api_client_(new ShellExtensionsAPIClient),
|
| extension_cache_(new NullExtensionCache()) {
|
| + // app_shell does not have a concept of channel yet, so leave UNKNOWN to
|
| + // enable all channel-dependent extension APIs.
|
| + SetCurrentChannel(version_info::Channel::UNKNOWN);
|
| }
|
|
|
| ShellExtensionsBrowserClient::~ShellExtensionsBrowserClient() {
|
|
|