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

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: Fix compilation 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
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // knowing it. Enable in debug builds. Playback mode is allowed always, 211 // knowing it. Enable in debug builds. Playback mode is allowed always,
212 // because it is useful for testing and not hazardous by itself. 212 // because it is useful for testing and not hazardous by itself.
213 #ifndef NDEBUG 213 #ifndef NDEBUG
214 // const bool kRecordModeEnabled = true; 214 // const bool kRecordModeEnabled = true;
215 #else 215 #else
216 // const bool kRecordModeEnabled = false; 216 // const bool kRecordModeEnabled = false;
217 #endif 217 #endif
218 218
219 const bool kRecordModeEnabled = true; 219 const bool kRecordModeEnabled = true;
220 220
221 const char* const kUnknownLanguageCode = "und";
222
223 const int kJavaScriptMessageExpectedDelay = 1000; 221 const int kJavaScriptMessageExpectedDelay = 1000;
224 222
225 #if defined(OS_ANDROID) 223 #if defined(OS_ANDROID)
226 const bool kEnableTouchIcon = true; 224 const bool kEnableTouchIcon = true;
227 #else 225 #else
228 const bool kEnableTouchIcon = false; 226 const bool kEnableTouchIcon = false;
229 #endif 227 #endif
230 228
231 const float kMaxShareOfExtensionProcesses = 0.30f; 229 const float kMaxShareOfExtensionProcesses = 0.30f;
232 230
(...skipping 28 matching lines...) Expand all
261 259
262 // This GUID is associated with any 'don't ask me again' settings that the 260 // This GUID is associated with any 'don't ask me again' settings that the
263 // user can select for different file types. 261 // user can select for different file types.
264 // {2676A9A2-D919-4FEE-9187-152100393AB2} 262 // {2676A9A2-D919-4FEE-9187-152100393AB2}
265 const char kApplicationClientIDStringForAVScanning[] = 263 const char kApplicationClientIDStringForAVScanning[] =
266 "2676A9A2-D919-4FEE-9187-152100393AB2"; 264 "2676A9A2-D919-4FEE-9187-152100393AB2";
267 265
268 } // namespace chrome 266 } // namespace chrome
269 267
270 #undef FPL 268 #undef FPL
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698