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

Unified Diff: extensions/browser/api/extensions_api_client.h

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/browser/api/extensions_api_client.h
diff --git a/extensions/browser/api/extensions_api_client.h b/extensions/browser/api/extensions_api_client.h
index 4800040eadadc11360e170b95895d589cf343762..35f0114115d7da5f2210b23cae55d4f6a07938b3 100644
--- a/extensions/browser/api/extensions_api_client.h
+++ b/extensions/browser/api/extensions_api_client.h
@@ -31,8 +31,6 @@ class ContentRulesRegistry;
class DevicePermissionsPrompt;
class ExtensionOptionsGuest;
class ExtensionOptionsGuestDelegate;
-class ExtensionViewGuest;
-class ExtensionViewGuestDelegate;
class ManagementAPIDelegate;
class MimeHandlerViewGuest;
class MimeHandlerViewGuestDelegate;
@@ -72,6 +70,11 @@ class ExtensionsAPIClient {
observers,
std::map<settings_namespace::Namespace, ValueStoreCache*>* caches);
+ // Attaches any extra web contents helpers (like ExtensionWebContentsObserver)
+ // to |web_contents|.
+ virtual void AttachWebContentsHelpers(content::WebContents* web_contents)
+ const;
+
// Creates the AppViewGuestDelegate.
virtual AppViewGuestDelegate* CreateAppViewGuestDelegate() const;
@@ -80,11 +83,6 @@ class ExtensionsAPIClient {
virtual ExtensionOptionsGuestDelegate* CreateExtensionOptionsGuestDelegate(
ExtensionOptionsGuest* guest) const;
- // Returns a delegate for ExtensionViewGuest. The caller owns the returned
- // ExtensionViewGuestDelegate.
- virtual ExtensionViewGuestDelegate* CreateExtensionViewGuestDelegate(
- ExtensionViewGuest* guest) const;
-
// Creates a delegate for MimeHandlerViewGuest.
virtual scoped_ptr<MimeHandlerViewGuestDelegate>
CreateMimeHandlerViewGuestDelegate(MimeHandlerViewGuest* guest) const;

Powered by Google App Engine
This is Rietveld 408576698