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

Unified Diff: chrome/renderer/extensions/dispatcher.h

Issue 14301016: Fix a couple of bugs relating to sending Tab info with chrome.runtime.connect and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/renderer/extensions/dispatcher.h
diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h
index d443000d08620267fc3db87f282327825faa5379..0939b37ad1415e424ab1e1bd9708697af85e2663 100644
--- a/chrome/renderer/extensions/dispatcher.h
+++ b/chrome/renderer/extensions/dispatcher.h
@@ -24,6 +24,7 @@
class GURL;
class ModuleSystem;
class URLPattern;
+struct ExtensionMsg_ExternalConnectionInfo;
struct ExtensionMsg_Loaded_Params;
namespace WebKit {
@@ -31,6 +32,7 @@ class WebFrame;
}
namespace base {
+class DictionaryValue;
class ListValue;
}
@@ -145,9 +147,8 @@ class Dispatcher : public content::RenderProcessObserver {
bool user_gesture);
void OnDispatchOnConnect(int target_port_id,
const std::string& channel_name,
- const std::string& tab_json,
- const std::string& source_extension_id,
- const std::string& target_extension_id);
+ const base::DictionaryValue& source_tab,
+ const ExtensionMsg_ExternalConnectionInfo& info);
void OnDeliverMessage(int target_port_id, const std::string& message);
void OnDispatchOnDisconnect(int port_id, const std::string& error_message);
void OnSetFunctionNames(const std::vector<std::string>& names);

Powered by Google App Engine
This is Rietveld 408576698