Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / extensions / shell / browser / shell_extensions_api_client.cc
blob527b883ab7f4d46f60cee33764177da457e0261d
1 // Copyright 2014 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.
5 #include "extensions/shell/browser/shell_extensions_api_client.h"
7 #include "extensions/shell/browser/shell_app_view_guest_delegate.h"
8 #include "extensions/shell/browser/shell_extension_web_contents_observer.h"
10 namespace extensions {
12 ShellExtensionsAPIClient::ShellExtensionsAPIClient() {
15 void ShellExtensionsAPIClient::AttachWebContentsHelpers(
16 content::WebContents* web_contents) const {
17 ShellExtensionWebContentsObserver::CreateForWebContents(web_contents);
20 AppViewGuestDelegate* ShellExtensionsAPIClient::CreateAppViewGuestDelegate()
21 const {
22 return new ShellAppViewGuestDelegate();
25 } // namespace extensions