OLD | NEW |
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 | |
OLD | NEW |