| Index: chrome/browser/extensions/api/messaging/message_service.h
|
| diff --git a/chrome/browser/extensions/api/messaging/message_service.h b/chrome/browser/extensions/api/messaging/message_service.h
|
| index 8786ef184996a98061ffa9ab5029debcb7c07961..18f442011703ce5e86470bdc3b31226e3538bb2a 100644
|
| --- a/chrome/browser/extensions/api/messaging/message_service.h
|
| +++ b/chrome/browser/extensions/api/messaging/message_service.h
|
| @@ -16,8 +16,13 @@
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
|
|
| +class GURL;
|
| class Profile;
|
|
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| namespace content {
|
| class RenderProcessHost;
|
| class WebContents;
|
| @@ -63,9 +68,10 @@ class MessageService : public content::NotificationObserver,
|
| // Notify the port that the channel has been opened.
|
| virtual void DispatchOnConnect(int dest_port_id,
|
| const std::string& channel_name,
|
| - const std::string& tab_json,
|
| + const base::DictionaryValue& source_tab,
|
| const std::string& source_extension_id,
|
| - const std::string& target_extension_id) {}
|
| + const std::string& target_extension_id,
|
| + const GURL& source_url) {}
|
|
|
| // Notify the port that the channel has been closed. If |error_message| is
|
| // non-empty, it indicates an error occurred while opening the connection.
|
| @@ -105,6 +111,7 @@ class MessageService : public content::NotificationObserver,
|
| int source_process_id, int source_routing_id, int receiver_port_id,
|
| const std::string& source_extension_id,
|
| const std::string& target_extension_id,
|
| + const GURL& source_url,
|
| const std::string& channel_name);
|
|
|
| // Same as above, but opens a channel to the tab with the given ID. Messages
|
|
|