| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/common/content_constants.h" | 5 #include "content/public/common/content_constants.h" |
| 6 namespace content { | 6 namespace content { |
| 7 | 7 |
| 8 const FilePath::CharType kAppCacheDirname[] = | 8 const FilePath::CharType kAppCacheDirname[] = |
| 9 FILE_PATH_LITERAL("Application Cache"); | 9 FILE_PATH_LITERAL("Application Cache"); |
| 10 const FilePath::CharType kPepperDataDirname[] = |
| 11 FILE_PATH_LITERAL("Pepper Data"); |
| 10 | 12 |
| 11 // This number used to be limited to 32 in the past (see b/535234). | 13 // This number used to be limited to 32 in the past (see b/535234). |
| 12 const size_t kMaxRendererProcessCount = 82; | 14 const size_t kMaxRendererProcessCount = 82; |
| 13 const int kMaxSessionHistoryEntries = 50; | 15 const int kMaxSessionHistoryEntries = 50; |
| 14 const size_t kMaxTitleChars = 4 * 1024; | 16 const size_t kMaxTitleChars = 4 * 1024; |
| 15 const size_t kMaxURLChars = 2 * 1024 * 1024; | 17 const size_t kMaxURLChars = 2 * 1024 * 1024; |
| 16 const size_t kMaxURLDisplayChars = 32 * 1024; | 18 const size_t kMaxURLDisplayChars = 32 * 1024; |
| 17 | 19 |
| 18 #if defined(GOOGLE_CHROME_BUILD) | 20 #if defined(GOOGLE_CHROME_BUILD) |
| 19 const wchar_t kBrowserAppName[] = L"Chrome"; | 21 const wchar_t kBrowserAppName[] = L"Chrome"; |
| 20 const char kStatsFilename[] = "ChromeStats2"; | 22 const char kStatsFilename[] = "ChromeStats2"; |
| 21 #else | 23 #else |
| 22 const wchar_t kBrowserAppName[] = L"Chromium"; | 24 const wchar_t kBrowserAppName[] = L"Chromium"; |
| 23 const char kStatsFilename[] = "ChromiumStats2"; | 25 const char kStatsFilename[] = "ChromiumStats2"; |
| 24 #endif | 26 #endif |
| 25 | 27 |
| 26 const int kStatsMaxThreads = 32; | 28 const int kStatsMaxThreads = 32; |
| 27 const int kStatsMaxCounters = 3000; | 29 const int kStatsMaxCounters = 3000; |
| 28 | 30 |
| 29 } // namespace content | 31 } // namespace content |
| OLD | NEW |