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/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // knowing it. Enable in debug builds. Playback mode is allowed always, | 207 // knowing it. Enable in debug builds. Playback mode is allowed always, |
208 // because it is useful for testing and not hazardous by itself. | 208 // because it is useful for testing and not hazardous by itself. |
209 #ifndef NDEBUG | 209 #ifndef NDEBUG |
210 // const bool kRecordModeEnabled = true; | 210 // const bool kRecordModeEnabled = true; |
211 #else | 211 #else |
212 // const bool kRecordModeEnabled = false; | 212 // const bool kRecordModeEnabled = false; |
213 #endif | 213 #endif |
214 | 214 |
215 const bool kRecordModeEnabled = true; | 215 const bool kRecordModeEnabled = true; |
216 | 216 |
217 const int kJavaScriptMessageExpectedDelay = 1000; | |
218 | |
219 #if defined(OS_ANDROID) || defined(OS_IOS) | 217 #if defined(OS_ANDROID) || defined(OS_IOS) |
220 const bool kEnableTouchIcon = true; | 218 const bool kEnableTouchIcon = true; |
221 #else | 219 #else |
222 const bool kEnableTouchIcon = false; | 220 const bool kEnableTouchIcon = false; |
223 #endif | 221 #endif |
224 | 222 |
225 const float kMaxShareOfExtensionProcesses = 0.30f; | 223 const float kMaxShareOfExtensionProcesses = 0.30f; |
226 | 224 |
227 // This is used by the PreRead experiment. | 225 // This is used by the PreRead experiment. |
228 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; | 226 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; |
(...skipping 27 matching lines...) Expand all Loading... |
256 // user can select for different file types. | 254 // user can select for different file types. |
257 // {2676A9A2-D919-4FEE-9187-152100393AB2} | 255 // {2676A9A2-D919-4FEE-9187-152100393AB2} |
258 const char kApplicationClientIDStringForAVScanning[] = | 256 const char kApplicationClientIDStringForAVScanning[] = |
259 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 257 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
260 | 258 |
261 const size_t kMaxMetaTagAttributeLength = 2000; | 259 const size_t kMaxMetaTagAttributeLength = 2000; |
262 | 260 |
263 } // namespace chrome | 261 } // namespace chrome |
264 | 262 |
265 #undef FPL | 263 #undef FPL |
OLD | NEW |