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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 295383003: Cleanup: Remove another piece of dead WebUI task manager code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 271776)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -1195,14 +1195,6 @@
extensions::ExtensionSystem::Get(profile)->extension_service();
extensions::ProcessMap* process_map = extensions::ProcessMap::Get(profile);
- // Don't allow the Task Manager to share a process with anything else.
- // Otherwise it can affect the renderers it is observing.
- // Note: we could create another RenderProcessHostPrivilege bucket for
- // this to allow multiple chrome://tasks instances to share, but that's
- // a very unlikely case without serious consequences.
- if (site_url.GetOrigin() == GURL(chrome::kChromeUITaskManagerURL).GetOrigin())
- return false;
-
// These may be NULL during tests. In that case, just assume any site can
// share any host.
if (!service || !process_map)
« no previous file with comments | « no previous file | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698