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

Unified Diff: chrome/browser/automation/extension_port_container.h

Issue 155707: Changed the extension.connect() API not to broadcast to all tabs. Added a (Closed)
Patch Set: review comments Created 11 years, 5 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/automation/extension_port_container.h
diff --git a/chrome/browser/automation/extension_port_container.h b/chrome/browser/automation/extension_port_container.h
index d9244b05026bd7485ee872e643a1483cb15ca501..8eedd09fbb53e0684c985d0a5695828553a8afb9 100644
--- a/chrome/browser/automation/extension_port_container.h
+++ b/chrome/browser/automation/extension_port_container.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/ref_counted.h"
#include "chrome/common/ipc_message.h"
class AutomationProvider;
@@ -66,7 +67,7 @@ class ExtensionPortContainer : public IPC::Message::Sender {
AutomationProvider* automation_;
// The extension message service.
- ExtensionMessageService* service_;
+ scoped_refptr<ExtensionMessageService> service_;
// Our assigned port id.
int port_id_;
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/extension_port_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698