Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: content/public/common/content_constants.cc

Issue 10827257: Revert 150863 - Browser Plugin: New Implementation (Renderer Side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 12
13 const char kBrowserPluginMimeType[] = "application/browser-plugin"; 13 const char kBrowserPluginMimeType[] = "application/browser-plugin";
14 // TODO(fsamuel): Remove this once upstreaming of the new browser plugin is
15 // complete.
16 const char kBrowserPluginNewMimeType[] = "application/new-browser-plugin";
17 14
18 // This number used to be limited to 32 in the past (see b/535234). 15 // This number used to be limited to 32 in the past (see b/535234).
19 const size_t kMaxRendererProcessCount = 82; 16 const size_t kMaxRendererProcessCount = 82;
20 const int kMaxSessionHistoryEntries = 50; 17 const int kMaxSessionHistoryEntries = 50;
21 const size_t kMaxTitleChars = 4 * 1024; 18 const size_t kMaxTitleChars = 4 * 1024;
22 const size_t kMaxURLChars = 2 * 1024 * 1024; 19 const size_t kMaxURLChars = 2 * 1024 * 1024;
23 const size_t kMaxURLDisplayChars = 32 * 1024; 20 const size_t kMaxURLDisplayChars = 32 * 1024;
24 21
25 #if defined(GOOGLE_CHROME_BUILD) 22 #if defined(GOOGLE_CHROME_BUILD)
26 const wchar_t kBrowserAppName[] = L"Chrome"; 23 const wchar_t kBrowserAppName[] = L"Chrome";
27 const char kStatsFilename[] = "ChromeStats2"; 24 const char kStatsFilename[] = "ChromeStats2";
28 #else 25 #else
29 const wchar_t kBrowserAppName[] = L"Chromium"; 26 const wchar_t kBrowserAppName[] = L"Chromium";
30 const char kStatsFilename[] = "ChromiumStats2"; 27 const char kStatsFilename[] = "ChromiumStats2";
31 #endif 28 #endif
32 29
33 const int kStatsMaxThreads = 32; 30 const int kStatsMaxThreads = 32;
34 const int kStatsMaxCounters = 3000; 31 const int kStatsMaxCounters = 3000;
35 32
36 const int kHistogramSynchronizerReservedSequenceNumber = 0; 33 const int kHistogramSynchronizerReservedSequenceNumber = 0;
37 34
38 const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode"; 35 const char kGpuCompositingFieldTrialName[] = "ForceCompositingMode";
39 const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled"; 36 const char kGpuCompositingFieldTrialForceCompositingEnabledName[] = "enabled";
40 const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread"; 37 const char kGpuCompositingFieldTrialThreadEnabledName[] = "thread";
41 38
42 } // namespace content 39 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_constants.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698