| 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[] = | 10 const FilePath::CharType kPepperDataDirname[] = |
| 11 FILE_PATH_LITERAL("Pepper Data"); | 11 FILE_PATH_LITERAL("Pepper Data"); |
| 12 const FilePath::CharType kStoragePartitionDirname[] = | |
| 13 FILE_PATH_LITERAL("Storage Partitions"); | |
| 14 | 12 |
| 15 const char kBrowserPluginMimeType[] = "application/browser-plugin"; | 13 const char kBrowserPluginMimeType[] = "application/browser-plugin"; |
| 16 // TODO(fsamuel): Remove this once upstreaming of the new browser plugin is | 14 // TODO(fsamuel): Remove this once upstreaming of the new browser plugin is |
| 17 // complete. | 15 // complete. |
| 18 const char kBrowserPluginNewMimeType[] = "application/new-browser-plugin"; | 16 const char kBrowserPluginNewMimeType[] = "application/new-browser-plugin"; |
| 19 | 17 |
| 20 // 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). |
| 21 const size_t kMaxRendererProcessCount = 82; | 19 const size_t kMaxRendererProcessCount = 82; |
| 22 const int kMaxSessionHistoryEntries = 50; | 20 const int kMaxSessionHistoryEntries = 50; |
| 23 const size_t kMaxTitleChars = 4 * 1024; | 21 const size_t kMaxTitleChars = 4 * 1024; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 35 const int kStatsMaxThreads = 32; | 33 const int kStatsMaxThreads = 32; |
| 36 const int kStatsMaxCounters = 3000; | 34 const int kStatsMaxCounters = 3000; |
| 37 | 35 |
| 38 const int kHistogramSynchronizerReservedSequenceNumber = 0; | 36 const int kHistogramSynchronizerReservedSequenceNumber = 0; |
| 39 | 37 |
| 40 const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode"; | 38 const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode"; |
| 41 const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled"; | 39 const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled"; |
| 42 const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread"; | 40 const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread"; |
| 43 | 41 |
| 44 } // namespace content | 42 } // namespace content |
| OLD | NEW |