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