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 base::FilePath::CharType kAppCacheDirname[] = | 8 const base::FilePath::CharType kAppCacheDirname[] = |
9 FILE_PATH_LITERAL("Application Cache"); | 9 FILE_PATH_LITERAL("Application Cache"); |
10 const base::FilePath::CharType kPepperDataDirname[] = | 10 const base::FilePath::CharType kPepperDataDirname[] = |
11 FILE_PATH_LITERAL("Pepper Data"); | 11 FILE_PATH_LITERAL("Pepper Data"); |
12 | 12 |
| 13 const base::FilePath::CharType kCookieFilename[] = |
| 14 FILE_PATH_LITERAL("Cookies"); |
| 15 |
13 const char kBrowserPluginMimeType[] = "application/browser-plugin"; | 16 const char kBrowserPluginMimeType[] = "application/browser-plugin"; |
14 | 17 |
15 // This number used to be limited to 32 in the past (see b/535234). | 18 // This number used to be limited to 32 in the past (see b/535234). |
16 const size_t kMaxRendererProcessCount = 82; | 19 const size_t kMaxRendererProcessCount = 82; |
17 const int kMaxSessionHistoryEntries = 50; | 20 const int kMaxSessionHistoryEntries = 50; |
18 const size_t kMaxTitleChars = 4 * 1024; | 21 const size_t kMaxTitleChars = 4 * 1024; |
19 const size_t kMaxURLChars = 2 * 1024 * 1024; | 22 const size_t kMaxURLChars = 2 * 1024 * 1024; |
20 const size_t kMaxURLDisplayChars = 32 * 1024; | 23 const size_t kMaxURLDisplayChars = 32 * 1024; |
21 | 24 |
22 #if defined(GOOGLE_CHROME_BUILD) | 25 #if defined(GOOGLE_CHROME_BUILD) |
23 const char kStatsFilename[] = "ChromeStats2"; | 26 const char kStatsFilename[] = "ChromeStats2"; |
24 #else | 27 #else |
25 const char kStatsFilename[] = "ChromiumStats2"; | 28 const char kStatsFilename[] = "ChromiumStats2"; |
26 #endif | 29 #endif |
27 | 30 |
28 const int kStatsMaxThreads = 32; | 31 const int kStatsMaxThreads = 32; |
29 const int kStatsMaxCounters = 3000; | 32 const int kStatsMaxCounters = 3000; |
30 | 33 |
31 const int kHistogramSynchronizerReservedSequenceNumber = 0; | 34 const int kHistogramSynchronizerReservedSequenceNumber = 0; |
32 | 35 |
33 const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode"; | 36 const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode"; |
34 const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled"; | 37 const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled"; |
35 const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread"; | 38 const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread"; |
36 | 39 |
37 const char kLowLatencyFlashAudioFieldTrialName[] = "LowLatencyFlashAudio"; | 40 const char kLowLatencyFlashAudioFieldTrialName[] = "LowLatencyFlashAudio"; |
38 const char kLowLatencyFlashAudioFieldTrialEnabledName[] = "LowLatency"; | 41 const char kLowLatencyFlashAudioFieldTrialEnabledName[] = "LowLatency"; |
39 | 42 |
40 } // namespace content | 43 } // namespace content |
OLD | NEW |