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

Unified Diff: content/browser/renderer_host/render_process_host.cc

Issue 7104144: Get rid of the following dependencies from content: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 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: content/browser/renderer_host/render_process_host.cc
===================================================================
--- content/browser/renderer_host/render_process_host.cc (revision 88923)
+++ content/browser/renderer_host/render_process_host.cc (working copy)
@@ -6,10 +6,10 @@
#include "base/rand_util.h"
#include "base/sys_info.h"
-#include "chrome/common/chrome_constants.h"
#include "content/browser/browser_thread.h"
#include "content/browser/child_process_security_policy.h"
#include "content/common/child_process_info.h"
+#include "content/common/content_constants.h"
#include "content/common/notification_service.h"
namespace {
@@ -51,7 +51,7 @@
if (!max_count) {
size_t memory_tier = base::SysInfo::AmountOfPhysicalMemoryMB() / 256;
if (memory_tier >= arraysize(kMaxRenderersByRamTier))
- max_count = chrome::kMaxRendererProcessCount;
+ max_count = content::kMaxRendererProcessCount;
else
max_count = kMaxRenderersByRamTier[memory_tier];
}
« no previous file with comments | « content/browser/renderer_host/browser_render_process_host.cc ('k') | content/browser/site_instance_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698