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

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

Issue 9419033: Move creation of BrowserContext objects that live in content to content, instead of depending on th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix memory leaks in tests Created 8 years, 10 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
« no previous file with comments | « content/public/common/content_constants.h ('k') | content/shell/shell_browser_context.h » ('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 namespace content {
6 7
7 namespace content { 8 const FilePath::CharType kAppCacheDirname[] =
9 FILE_PATH_LITERAL("Application Cache");
8 10
9 // This number used to be limited to 32 in the past (see b/535234). 11 // This number used to be limited to 32 in the past (see b/535234).
10 const size_t kMaxRendererProcessCount = 82; 12 const size_t kMaxRendererProcessCount = 82;
11 const int kMaxSessionHistoryEntries = 50; 13 const int kMaxSessionHistoryEntries = 50;
12 const size_t kMaxTitleChars = 4 * 1024; 14 const size_t kMaxTitleChars = 4 * 1024;
13 const size_t kMaxURLChars = 2 * 1024 * 1024; 15 const size_t kMaxURLChars = 2 * 1024 * 1024;
14 const size_t kMaxURLDisplayChars = 32 * 1024; 16 const size_t kMaxURLDisplayChars = 32 * 1024;
15 17
16 #if defined(GOOGLE_CHROME_BUILD) 18 #if defined(GOOGLE_CHROME_BUILD)
17 const wchar_t kBrowserAppName[] = L"Chrome"; 19 const wchar_t kBrowserAppName[] = L"Chrome";
18 const char kStatsFilename[] = "ChromeStats2"; 20 const char kStatsFilename[] = "ChromeStats2";
19 #else 21 #else
20 const wchar_t kBrowserAppName[] = L"Chromium"; 22 const wchar_t kBrowserAppName[] = L"Chromium";
21 const char kStatsFilename[] = "ChromiumStats2"; 23 const char kStatsFilename[] = "ChromiumStats2";
22 #endif 24 #endif
23 25
24 const int kStatsMaxThreads = 32; 26 const int kStatsMaxThreads = 32;
25 const int kStatsMaxCounters = 3000; 27 const int kStatsMaxCounters = 3000;
26 28
27 } // namespace content 29 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_constants.h ('k') | content/shell/shell_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698