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

Unified Diff: extensions/browser/process_manager.h

Issue 169413002: Removing unnecessary creation of RenderViewHostDestructionObserver for all WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | extensions/browser/process_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/process_manager.h
diff --git a/extensions/browser/process_manager.h b/extensions/browser/process_manager.h
index f283c799e1ce9949777ac206617cdd7fd0123b08..1059db3028bfcfbf17c09886e04b823eeb1b2a8e 100644
--- a/extensions/browser/process_manager.h
+++ b/extensions/browser/process_manager.h
@@ -190,7 +190,9 @@ class ProcessManager : public content::NotificationObserver {
// Potentially registers a RenderViewHost, if it is associated with an
// extension. Does nothing if this is not an extension renderer.
- void RegisterRenderViewHost(content::RenderViewHost* render_view_host);
+ // Returns true, if render_view_host was registered (it is associated
+ // with an extension).
+ bool RegisterRenderViewHost(content::RenderViewHost* render_view_host);
// Unregister RenderViewHosts and clear background page data for an extension
// which has been unloaded.
« no previous file with comments | « no previous file | extensions/browser/process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698