OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); | 105 const FilePath::CharType kBookmarksFileName[] = FPL("Bookmarks"); |
106 const FilePath::CharType kHistoryBookmarksFileName[] = | 106 const FilePath::CharType kHistoryBookmarksFileName[] = |
107 FPL("Bookmarks From History"); | 107 FPL("Bookmarks From History"); |
108 const FilePath::CharType kCustomDictionaryFileName[] = | 108 const FilePath::CharType kCustomDictionaryFileName[] = |
109 FPL("Custom Dictionary.txt"); | 109 FPL("Custom Dictionary.txt"); |
110 const FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); | 110 const FilePath::CharType kLoginDataFileName[] = FPL("Login Data"); |
111 const FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); | 111 const FilePath::CharType kJumpListIconDirname[] = FPL("JumpListIcons"); |
112 const FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); | 112 const FilePath::CharType kWebAppDirname[] = FPL("Web Applications"); |
113 const FilePath::CharType kServiceStateFileName[] = FPL("Service State"); | 113 const FilePath::CharType kServiceStateFileName[] = FPL("Service State"); |
114 | 114 |
115 // This number used to be limited to 32 in the past (see b/535234). | |
116 const unsigned int kMaxRendererProcessCount = 42; | |
117 const int kStatsMaxThreads = 32; | 115 const int kStatsMaxThreads = 32; |
118 const int kStatsMaxCounters = 3000; | 116 const int kStatsMaxCounters = 3000; |
119 | 117 |
120 // We don't enable record mode in the released product because users could | 118 // We don't enable record mode in the released product because users could |
121 // potentially be tricked into running a product in record mode without | 119 // potentially be tricked into running a product in record mode without |
122 // knowing it. Enable in debug builds. Playback mode is allowed always, | 120 // knowing it. Enable in debug builds. Playback mode is allowed always, |
123 // because it is useful for testing and not hazardous by itself. | 121 // because it is useful for testing and not hazardous by itself. |
124 #ifndef NDEBUG | 122 #ifndef NDEBUG |
125 const bool kRecordModeEnabled = true; | 123 const bool kRecordModeEnabled = true; |
126 #else | 124 #else |
127 const bool kRecordModeEnabled = false; | 125 const bool kRecordModeEnabled = false; |
128 #endif | 126 #endif |
129 | 127 |
130 const int kHistogramSynchronizerReservedSequenceNumber = 0; | 128 const int kHistogramSynchronizerReservedSequenceNumber = 0; |
131 | 129 |
132 const char* const kUnknownLanguageCode = "und"; | 130 const char* const kUnknownLanguageCode = "und"; |
133 | 131 |
134 const int kJavascriptMessageExpectedDelay = 1000; | 132 const int kJavascriptMessageExpectedDelay = 1000; |
135 | 133 |
136 const bool kEnableTouchIcon = false; | 134 const bool kEnableTouchIcon = false; |
137 | 135 |
138 } // namespace chrome | 136 } // namespace chrome |
139 | 137 |
140 #undef FPL | 138 #undef FPL |
OLD | NEW |