OLD | NEW |
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 "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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // knowing it. Enable in debug builds. Playback mode is allowed always, | 181 // knowing it. Enable in debug builds. Playback mode is allowed always, |
182 // because it is useful for testing and not hazardous by itself. | 182 // because it is useful for testing and not hazardous by itself. |
183 #ifndef NDEBUG | 183 #ifndef NDEBUG |
184 // const bool kRecordModeEnabled = true; | 184 // const bool kRecordModeEnabled = true; |
185 #else | 185 #else |
186 // const bool kRecordModeEnabled = false; | 186 // const bool kRecordModeEnabled = false; |
187 #endif | 187 #endif |
188 | 188 |
189 const bool kRecordModeEnabled = true; | 189 const bool kRecordModeEnabled = true; |
190 | 190 |
191 const int kHistogramSynchronizerReservedSequenceNumber = 0; | |
192 | |
193 const char* const kUnknownLanguageCode = "und"; | 191 const char* const kUnknownLanguageCode = "und"; |
194 | 192 |
195 const int kJavascriptMessageExpectedDelay = 1000; | 193 const int kJavascriptMessageExpectedDelay = 1000; |
196 | 194 |
197 const bool kEnableTouchIcon = false; | 195 const bool kEnableTouchIcon = false; |
198 | 196 |
199 const float kMaxShareOfExtensionProcesses = 0.30f; | 197 const float kMaxShareOfExtensionProcesses = 0.30f; |
200 | 198 |
201 #if defined(OS_LINUX) | 199 #if defined(OS_LINUX) |
202 extern const int kLowestRendererOomScore = 300; | 200 extern const int kLowestRendererOomScore = 300; |
203 extern const int kHighestRendererOomScore = 1000; | 201 extern const int kHighestRendererOomScore = 1000; |
204 #endif | 202 #endif |
205 | 203 |
206 #if defined(OS_WIN) | 204 #if defined(OS_WIN) |
207 // This is used by the PreRead experiment. | 205 // This is used by the PreRead experiment. |
208 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; | 206 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; |
209 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; | 207 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; |
210 const wchar_t kMetroNavigationAndSearchMessage[] = | 208 const wchar_t kMetroNavigationAndSearchMessage[] = |
211 L"CHROME_METRO_NAV_SEARCH_REQUEST"; | 209 L"CHROME_METRO_NAV_SEARCH_REQUEST"; |
212 const wchar_t kMetroGetCurrentTabInfoMessage[] = | 210 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
213 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | 211 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
214 #endif | 212 #endif |
215 | 213 |
216 } // namespace chrome | 214 } // namespace chrome |
217 | 215 |
218 #undef FPL | 216 #undef FPL |
OLD | NEW |