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

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

Issue 1755363003: Revert of Mustash: Move GURL ParamTraits to url/ipc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « content/public/common/common_param_traits.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6
7 namespace content { 7 namespace content {
8 8
9 const base::FilePath::CharType kAppCacheDirname[] = 9 const base::FilePath::CharType kAppCacheDirname[] =
10 FILE_PATH_LITERAL("Application Cache"); 10 FILE_PATH_LITERAL("Application Cache");
11 const base::FilePath::CharType kPepperDataDirname[] = 11 const base::FilePath::CharType kPepperDataDirname[] =
12 FILE_PATH_LITERAL("Pepper Data"); 12 FILE_PATH_LITERAL("Pepper Data");
13 13
14 const char kBrowserPluginMimeType[] = "application/browser-plugin"; 14 const char kBrowserPluginMimeType[] = "application/browser-plugin";
15 15
16 const char kFlashPluginName[] = "Shockwave Flash"; 16 const char kFlashPluginName[] = "Shockwave Flash";
17 const char kFlashPluginSwfMimeType[] = "application/x-shockwave-flash"; 17 const char kFlashPluginSwfMimeType[] = "application/x-shockwave-flash";
18 const char kFlashPluginSwfExtension[] = "swf"; 18 const char kFlashPluginSwfExtension[] = "swf";
19 const char kFlashPluginSwfDescription[] = "Shockwave Flash"; 19 const char kFlashPluginSwfDescription[] = "Shockwave Flash";
20 const char kFlashPluginSplMimeType[] = "application/futuresplash"; 20 const char kFlashPluginSplMimeType[] = "application/futuresplash";
21 const char kFlashPluginSplExtension[] = "spl"; 21 const char kFlashPluginSplExtension[] = "spl";
22 const char kFlashPluginSplDescription[] = "FutureSplash Player"; 22 const char kFlashPluginSplDescription[] = "FutureSplash Player";
23 const char kSilverlightPluginMimeTypePrefix[] = "application/x-silverlight"; 23 const char kSilverlightPluginMimeTypePrefix[] = "application/x-silverlight";
24 24
25 // This number used to be limited to 32 in the past (see b/535234). 25 // This number used to be limited to 32 in the past (see b/535234).
26 const size_t kMaxRendererProcessCount = 82; 26 const size_t kMaxRendererProcessCount = 82;
27 const int kMaxSessionHistoryEntries = 50; 27 const int kMaxSessionHistoryEntries = 50;
28 const size_t kMaxTitleChars = 4 * 1024; 28 const size_t kMaxTitleChars = 4 * 1024;
29 const size_t kMaxURLChars = 2 * 1024 * 1024;
29 const size_t kMaxURLDisplayChars = 32 * 1024; 30 const size_t kMaxURLDisplayChars = 32 * 1024;
30 31
31 #if defined(GOOGLE_CHROME_BUILD) 32 #if defined(GOOGLE_CHROME_BUILD)
32 const char kStatsFilename[] = "ChromeStats2"; 33 const char kStatsFilename[] = "ChromeStats2";
33 #else 34 #else
34 const char kStatsFilename[] = "ChromiumStats2"; 35 const char kStatsFilename[] = "ChromiumStats2";
35 #endif 36 #endif
36 37
37 const int kStatsMaxThreads = 32; 38 const int kStatsMaxThreads = 32;
38 const int kStatsMaxCounters = 3000; 39 const int kStatsMaxCounters = 3000;
39 40
40 const int kHistogramSynchronizerReservedSequenceNumber = 0; 41 const int kHistogramSynchronizerReservedSequenceNumber = 0;
41 42
42 } // namespace content 43 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698