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

Unified Diff: chrome/browser/renderer_host/browser_render_process_host.h

Issue 125280: Send port-closed notification when a frame with ports unloads.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/browser_render_process_host.h
===================================================================
--- chrome/browser/renderer_host/browser_render_process_host.h (revision 18701)
+++ chrome/browser/renderer_host/browser_render_process_host.h (working copy)
@@ -86,16 +86,15 @@
const NotificationSource& source,
const NotificationDetails& details);
- // An extension process started or stopped listening to an event.
- void OnExtensionAddListener(const std::string& event_name);
- void OnExtensionRemoveListener(const std::string& event_name);
-
private:
// Control message handlers.
void OnPageContents(const GURL& url, int32 page_id,
const std::wstring& contents);
void OnUpdatedCacheStats(const WebKit::WebCache::UsageStats& stats);
void SuddenTerminationChanged(bool enabled);
+ void OnExtensionAddListener(const std::string& event_name);
+ void OnExtensionRemoveListener(const std::string& event_name);
+ void OnExtensionCloseChannel(int port_id);
// Initialize support for visited links. Send the renderer process its initial
// set of visited links.
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698