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

Unified Diff: chrome/browser/extensions/extension_message_service.h

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 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: chrome/browser/extensions/extension_message_service.h
===================================================================
--- chrome/browser/extensions/extension_message_service.h (revision 116331)
+++ chrome/browser/extensions/extension_message_service.h (working copy)
@@ -17,8 +17,11 @@
#include "ipc/ipc_message.h"
class Profile;
-class TabContents;
+namespace content {
+class WebContents;
+}
+
// This class manages message and event passing between renderer processes.
// It maintains a list of processes that are listening to events and a set of
// open channels.
@@ -103,7 +106,7 @@
// the code doesn't detect whether the extension actually exists.
int OpenSpecialChannelToTab(
const std::string& extension_id, const std::string& channel_name,
- TabContents* target_tab_contents, IPC::Message::Sender* source);
+ content::WebContents* target_web_contents, IPC::Message::Sender* source);
// Closes the message channel associated with the given port, and notifies
// the other side.

Powered by Google App Engine
This is Rietveld 408576698