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

Unified Diff: chrome/browser/extensions/extension_process_manager.h

Issue 8113035: Remove RenderProcessHost::is_extension_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/extensions/extension_process_manager.h
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h
index b8219a38503a33cfb3c3ba4304b876fdace7bc52..5c3f771028792453c2b01db11d1f7c1f23d243c3 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -76,6 +76,9 @@ class ExtensionProcessManager : public NotificationObserver {
// Unregisters the extension associated with |site_instance|.
void UnregisterExtensionSiteInstance(SiteInstance* site_instance);
+ // True if this process host is hosting an extension.
+ bool IsExtensionProcess(int host_id);
jam 2011/10/04 16:59:22 to be consistent with everywhere else, please use
jochen (gone - plz use gerrit) 2011/10/04 18:50:19 Done.
+
// True if this process host is hosting an extension with extension bindings
// enabled.
bool AreBindingsEnabledForProcess(int host_id);

Powered by Google App Engine
This is Rietveld 408576698