content_constants.cc revision ba5b9a6411cb1792fd21f0a078d7a25cd1ceec16
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
3// found in the LICENSE file.
4
5#include "content/public/common/content_constants.h"
6
7namespace content {
8
9const base::FilePath::CharType kAppCacheDirname[] =
10    FILE_PATH_LITERAL("Application Cache");
11const base::FilePath::CharType kPepperDataDirname[] =
12    FILE_PATH_LITERAL("Pepper Data");
13
14const char kBrowserPluginMimeType[] = "application/browser-plugin";
15
16const char kFlashPluginName[] = "Shockwave Flash";
17const char kFlashPluginSwfMimeType[] = "application/x-shockwave-flash";
18const char kFlashPluginSwfExtension[] = "swf";
19const char kFlashPluginSwfDescription[] = "Shockwave Flash";
20const char kFlashPluginSplMimeType[] = "application/futuresplash";
21const char kFlashPluginSplExtension[] = "spl";
22const char kFlashPluginSplDescription[] = "FutureSplash Player";
23
24// This number used to be limited to 32 in the past (see b/535234).
25const size_t kMaxRendererProcessCount = 82;
26const int kMaxSessionHistoryEntries = 50;
27const size_t kMaxTitleChars = 4 * 1024;
28const size_t kMaxURLChars = 2 * 1024 * 1024;
29const size_t kMaxURLDisplayChars = 32 * 1024;
30
31#if defined(GOOGLE_CHROME_BUILD)
32const char kStatsFilename[] = "ChromeStats2";
33#else
34const char kStatsFilename[] = "ChromiumStats2";
35#endif
36
37const int kStatsMaxThreads = 32;
38const int kStatsMaxCounters = 3000;
39
40const int kHistogramSynchronizerReservedSequenceNumber = 0;
41
42const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode";
43const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled";
44const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread";
45
46const char kLowLatencyFlashAudioFieldTrialName[] = "LowLatencyFlashAudio";
47const char kLowLatencyFlashAudioFieldTrialEnabledName[] = "LowLatency";
48
49}  // namespace content
50