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

Unified Diff: chrome/browser/renderer_host/chrome_render_message_filter.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: add key to app1/manifest.json 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/browser/renderer_host/chrome_render_message_filter.h
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.h b/chrome/browser/renderer_host/chrome_render_message_filter.h
index 590de484f909b97d7fb5685289aa09f3bd1f1f85..1c160c026c4c02eedeec4f69448edfb7bdc2f415 100644
--- a/chrome/browser/renderer_host/chrome_render_message_filter.h
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.h
@@ -20,6 +20,7 @@ class CookieSettings;
struct ExtensionHostMsg_APIActionOrEvent_Params;
struct ExtensionHostMsg_DOMAction_Params;
struct ExtensionHostMsg_Request_Params;
+struct ExtensionMsg_ExternalConnectionInfo;
class ExtensionInfoMap;
class GURL;
@@ -100,15 +101,14 @@ class ChromeRenderMessageFilter : public content::BrowserMessageFilter {
void OnFPS(int routing_id, float fps);
void OnV8HeapStats(int v8_memory_allocated, int v8_memory_used);
void OnOpenChannelToExtension(int routing_id,
- const std::string& source_extension_id,
- const std::string& target_extension_id,
+ const ExtensionMsg_ExternalConnectionInfo& info,
const std::string& channel_name, int* port_id);
- void OpenChannelToExtensionOnUIThread(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 std::string& channel_name);
+ void OpenChannelToExtensionOnUIThread(
+ int source_process_id,
+ int source_routing_id,
+ int receiver_port_id,
+ const ExtensionMsg_ExternalConnectionInfo& info,
+ const std::string& channel_name);
void OnOpenChannelToNativeApp(int routing_id,
const std::string& source_extension_id,
const std::string& native_app_name,

Powered by Google App Engine
This is Rietveld 408576698