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

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

Issue 1169223002: [Extensions] Clean up the handling of ExtensionHostMsg_Request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 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_api_client.cc
diff --git a/extensions/shell/browser/shell_extensions_api_client.cc b/extensions/shell/browser/shell_extensions_api_client.cc
index 43d9fdd374cc8310a69afe11b50974dd17b464bd..527b883ab7f4d46f60cee33764177da457e0261d 100644
--- a/extensions/shell/browser/shell_extensions_api_client.cc
+++ b/extensions/shell/browser/shell_extensions_api_client.cc
@@ -5,12 +5,18 @@
#include "extensions/shell/browser/shell_extensions_api_client.h"
#include "extensions/shell/browser/shell_app_view_guest_delegate.h"
+#include "extensions/shell/browser/shell_extension_web_contents_observer.h"
namespace extensions {
ShellExtensionsAPIClient::ShellExtensionsAPIClient() {
}
+void ShellExtensionsAPIClient::AttachWebContentsHelpers(
+ content::WebContents* web_contents) const {
+ ShellExtensionWebContentsObserver::CreateForWebContents(web_contents);
+}
+
AppViewGuestDelegate* ShellExtensionsAPIClient::CreateAppViewGuestDelegate()
const {
return new ShellAppViewGuestDelegate();
« no previous file with comments | « extensions/shell/browser/shell_extensions_api_client.h ('k') | extensions/shell/browser/shell_extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698