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

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

Issue 8413009: Changes to upload tracked_objects data from all renderer (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // knowing it. Enable in debug builds. Playback mode is allowed always, 163 // knowing it. Enable in debug builds. Playback mode is allowed always,
164 // because it is useful for testing and not hazardous by itself. 164 // because it is useful for testing and not hazardous by itself.
165 #ifndef NDEBUG 165 #ifndef NDEBUG
166 const bool kRecordModeEnabled = true; 166 const bool kRecordModeEnabled = true;
167 #else 167 #else
168 const bool kRecordModeEnabled = false; 168 const bool kRecordModeEnabled = false;
169 #endif 169 #endif
170 170
171 const int kHistogramSynchronizerReservedSequenceNumber = 0; 171 const int kHistogramSynchronizerReservedSequenceNumber = 0;
172 172
173 const int kTrackingSynchronizerReservedSequenceNumber = 0;
174
173 const char* const kUnknownLanguageCode = "und"; 175 const char* const kUnknownLanguageCode = "und";
174 176
175 const int kJavascriptMessageExpectedDelay = 1000; 177 const int kJavascriptMessageExpectedDelay = 1000;
176 178
177 #ifdef TOUCH_UI 179 #ifdef TOUCH_UI
178 const bool kEnableTouchIcon = true; 180 const bool kEnableTouchIcon = true;
179 #else 181 #else
180 const bool kEnableTouchIcon = false; 182 const bool kEnableTouchIcon = false;
181 #endif 183 #endif
182 184
183 #if defined(OS_LINUX) 185 #if defined(OS_LINUX)
184 extern const int kLowestRendererOomScore = 300; 186 extern const int kLowestRendererOomScore = 300;
185 extern const int kHighestRendererOomScore = 1000; 187 extern const int kHighestRendererOomScore = 1000;
186 #endif 188 #endif
187 189
188 #if defined(OS_WIN) 190 #if defined(OS_WIN)
189 // This is used by the PreRead experiment. 191 // This is used by the PreRead experiment.
190 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; 192 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT";
191 #endif 193 #endif
192 194
193 } // namespace chrome 195 } // namespace chrome
194 196
195 #undef FPL 197 #undef FPL
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698