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

Side by Side Diff: chrome/common/chrome_constants.cc

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Run translate unittests on iOS Created 7 years, 2 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
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/chrome_switches.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 "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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // knowing it. Enable in debug builds. Playback mode is allowed always, 213 // knowing it. Enable in debug builds. Playback mode is allowed always,
214 // because it is useful for testing and not hazardous by itself. 214 // because it is useful for testing and not hazardous by itself.
215 #ifndef NDEBUG 215 #ifndef NDEBUG
216 // const bool kRecordModeEnabled = true; 216 // const bool kRecordModeEnabled = true;
217 #else 217 #else
218 // const bool kRecordModeEnabled = false; 218 // const bool kRecordModeEnabled = false;
219 #endif 219 #endif
220 220
221 const bool kRecordModeEnabled = true; 221 const bool kRecordModeEnabled = true;
222 222
223 const char* const kUnknownLanguageCode = "und";
224
225 const int kJavaScriptMessageExpectedDelay = 1000; 223 const int kJavaScriptMessageExpectedDelay = 1000;
226 224
227 #if defined(OS_ANDROID) 225 #if defined(OS_ANDROID)
228 const bool kEnableTouchIcon = true; 226 const bool kEnableTouchIcon = true;
229 #else 227 #else
230 const bool kEnableTouchIcon = false; 228 const bool kEnableTouchIcon = false;
231 #endif 229 #endif
232 230
233 const float kMaxShareOfExtensionProcesses = 0.30f; 231 const float kMaxShareOfExtensionProcesses = 0.30f;
234 232
(...skipping 28 matching lines...) Expand all
263 261
264 // This GUID is associated with any 'don't ask me again' settings that the 262 // This GUID is associated with any 'don't ask me again' settings that the
265 // user can select for different file types. 263 // user can select for different file types.
266 // {2676A9A2-D919-4FEE-9187-152100393AB2} 264 // {2676A9A2-D919-4FEE-9187-152100393AB2}
267 const char kApplicationClientIDStringForAVScanning[] = 265 const char kApplicationClientIDStringForAVScanning[] =
268 "2676A9A2-D919-4FEE-9187-152100393AB2"; 266 "2676A9A2-D919-4FEE-9187-152100393AB2";
269 267
270 } // namespace chrome 268 } // namespace chrome
271 269
272 #undef FPL 270 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698