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

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

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/metrics/histogram_sender.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/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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // knowing it. Enable in debug builds. Playback mode is allowed always, 186 // knowing it. Enable in debug builds. Playback mode is allowed always,
187 // because it is useful for testing and not hazardous by itself. 187 // because it is useful for testing and not hazardous by itself.
188 #ifndef NDEBUG 188 #ifndef NDEBUG
189 // const bool kRecordModeEnabled = true; 189 // const bool kRecordModeEnabled = true;
190 #else 190 #else
191 // const bool kRecordModeEnabled = false; 191 // const bool kRecordModeEnabled = false;
192 #endif 192 #endif
193 193
194 const bool kRecordModeEnabled = true; 194 const bool kRecordModeEnabled = true;
195 195
196 const int kHistogramSynchronizerReservedSequenceNumber = 0;
197
198 const char* const kUnknownLanguageCode = "und"; 196 const char* const kUnknownLanguageCode = "und";
199 197
200 const int kJavascriptMessageExpectedDelay = 1000; 198 const int kJavascriptMessageExpectedDelay = 1000;
201 199
202 const bool kEnableTouchIcon = false; 200 const bool kEnableTouchIcon = false;
203 201
204 const float kMaxShareOfExtensionProcesses = 0.30f; 202 const float kMaxShareOfExtensionProcesses = 0.30f;
205 203
206 #if defined(OS_LINUX) 204 #if defined(OS_LINUX)
207 extern const int kLowestRendererOomScore = 300; 205 extern const int kLowestRendererOomScore = 300;
208 extern const int kHighestRendererOomScore = 1000; 206 extern const int kHighestRendererOomScore = 1000;
209 #endif 207 #endif
210 208
211 #if defined(OS_WIN) 209 #if defined(OS_WIN)
212 // This is used by the PreRead experiment. 210 // This is used by the PreRead experiment.
213 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; 211 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT";
214 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; 212 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro";
215 const wchar_t kMetroNavigationAndSearchMessage[] = 213 const wchar_t kMetroNavigationAndSearchMessage[] =
216 L"CHROME_METRO_NAV_SEARCH_REQUEST"; 214 L"CHROME_METRO_NAV_SEARCH_REQUEST";
217 const wchar_t kMetroGetCurrentTabInfoMessage[] = 215 const wchar_t kMetroGetCurrentTabInfoMessage[] =
218 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; 216 L"CHROME_METRO_GET_CURRENT_TAB_INFO";
219 #endif 217 #endif
220 218
221 } // namespace chrome 219 } // namespace chrome
222 220
223 #undef FPL 221 #undef FPL
OLDNEW
« no previous file with comments | « chrome/common/chrome_constants.h ('k') | chrome/common/metrics/histogram_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698