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

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: updates 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..73b1cdf8a26890ceff3ad377935b2796f08fea00 100644
--- a/chrome/browser/extensions/extension_process_manager.h
+++ b/chrome/browser/extensions/extension_process_manager.h
@@ -76,9 +76,12 @@ 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 render_process_id);
+
// True if this process host is hosting an extension with extension bindings
// enabled.
- bool AreBindingsEnabledForProcess(int host_id);
+ bool AreBindingsEnabledForProcess(int render_process_id);
// Returns the extension process that |url| is associated with if it exists.
// This is not valid for hosted apps without the background permission, since
« no previous file with comments | « chrome/browser/extensions/extension_info_map.cc ('k') | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698