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

Side by Side Diff: content/common/content_constants.cc

Issue 7779040: Start moving code from BrowserMain to content, so that it can be reused by all embedders of conte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix windows unittest Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/content_constants.h" 5 #include "content/common/content_constants.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 // This number used to be limited to 32 in the past (see b/535234). 9 // This number used to be limited to 32 in the past (see b/535234).
10 const unsigned int kMaxRendererProcessCount = 42; 10 const unsigned int kMaxRendererProcessCount = 42;
11 const int kMaxSessionHistoryEntries = 50; 11 const int kMaxSessionHistoryEntries = 50;
12 const size_t kMaxTitleChars = 4 * 1024; 12 const size_t kMaxTitleChars = 4 * 1024;
13 const size_t kMaxURLChars = 2 * 1024 * 1024; 13 const size_t kMaxURLChars = 2 * 1024 * 1024;
14 const size_t kMaxURLDisplayChars = 32 * 1024; 14 const size_t kMaxURLDisplayChars = 32 * 1024;
15 15
16 const char kDefaultPluginRenderViewId[] = "PluginRenderViewId"; 16 const char kDefaultPluginRenderViewId[] = "PluginRenderViewId";
17 const char kDefaultPluginRenderProcessId[] = "PluginRenderProcessId"; 17 const char kDefaultPluginRenderProcessId[] = "PluginRenderProcessId";
18 18
19 #if defined(GOOGLE_CHROME_BUILD)
20 const wchar_t kBrowserAppName[] = L"Chrome";
21 const char kStatsFilename[] = "ChromeStats2";
22 #else
23 const wchar_t kBrowserAppName[] = L"Chromium";
24 const char kStatsFilename[] = "ChromiumStats2";
25 #endif
26
27 const int kStatsMaxThreads = 32;
28 const int kStatsMaxCounters = 3000;
29
19 } // namespace content 30 } // namespace content
20
21 #undef FPL
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698