OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/common/chrome_constants.h" | 5 #include "chrome/common/chrome_constants.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); | 39 const FilePath::CharType kSafeBrowsingFilename[] = FPL("Safe Browsing"); |
40 const wchar_t kThumbnailsFilename[] = L"Thumbnails"; | 40 const wchar_t kThumbnailsFilename[] = L"Thumbnails"; |
41 const wchar_t kUserDataDirname[] = L"User Data"; | 41 const wchar_t kUserDataDirname[] = L"User Data"; |
42 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); | 42 const FilePath::CharType kUserScriptsDirname[] = FPL("User Scripts"); |
43 const FilePath::CharType kWebDataFilename[] = FPL("Web Data"); | 43 const FilePath::CharType kWebDataFilename[] = FPL("Web Data"); |
44 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); | 44 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); |
45 const FilePath::CharType kHistoryBookmarksFileName[] = | 45 const FilePath::CharType kHistoryBookmarksFileName[] = |
46 FPL("Bookmarks From History"); | 46 FPL("Bookmarks From History"); |
47 const wchar_t kCustomDictionaryFileName[] = L"Custom Dictionary.txt"; | 47 const wchar_t kCustomDictionaryFileName[] = L"Custom Dictionary.txt"; |
48 | 48 |
49 // Note, this shouldn't go above 64. See bug 535234. | 49 // This number used to be limited to 32 in the past (see b/535234). |
50 const unsigned int kMaxRendererProcessCount = 20; | 50 const unsigned int kMaxRendererProcessCount = 42; |
51 const int kStatsMaxThreads = 32; | 51 const int kStatsMaxThreads = 32; |
52 const int kStatsMaxCounters = 300; | 52 const int kStatsMaxCounters = 300; |
53 | 53 |
54 // We don't enable record mode in the released product because users could | 54 // We don't enable record mode in the released product because users could |
55 // potentially be tricked into running a product in record mode without | 55 // potentially be tricked into running a product in record mode without |
56 // knowing it. Enable in debug builds. Playback mode is allowed always, | 56 // knowing it. Enable in debug builds. Playback mode is allowed always, |
57 // because it is useful for testing and not hazardous by itself. | 57 // because it is useful for testing and not hazardous by itself. |
58 #ifndef NDEBUG | 58 #ifndef NDEBUG |
59 const bool kRecordModeEnabled = true; | 59 const bool kRecordModeEnabled = true; |
60 #else | 60 #else |
61 const bool kRecordModeEnabled = false; | 61 const bool kRecordModeEnabled = false; |
62 #endif | 62 #endif |
63 } | 63 } |
64 | 64 |
OLD | NEW |