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

Side by Side Diff: chrome/common/child_process_logging.h

Issue 10795060: Rename all of experiments_helper to variations_helper, including files, namespaces, and various fun… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 8 years, 4 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/chrome_tests.gypi ('k') | chrome/common/child_process_logging_mac.mm » ('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 #ifndef CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ 5 #ifndef CHROME_COMMON_CHILD_PROCESS_LOGGING_H_
6 #define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ 6 #define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/mac/crash_logging.h" 13 #include "base/mac/crash_logging.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 16
17 class CommandLine; 17 class CommandLine;
18 18
19 namespace content { 19 namespace content {
20 struct GPUInfo; 20 struct GPUInfo;
21 } 21 }
22 22
23 // The maximum number of active extensions we will report. 23 // The maximum number of active extensions we will report.
24 // Also used in chrome/app, but we define it here to avoid a common->app 24 // Also used in chrome/app, but we define it here to avoid a common->app
25 // dependency. 25 // dependency.
26 static const int kMaxReportedActiveExtensions = 10; 26 static const int kMaxReportedActiveExtensions = 10;
27 27
28 // The maximum number of experiment chunks we will report. 28 // The maximum number of variation chunks we will report.
29 // Also used in chrome/app, but we define it here to avoid a common->app 29 // Also used in chrome/app, but we define it here to avoid a common->app
30 // dependency. 30 // dependency.
31 static const int kMaxReportedExperimentChunks = 15; 31 static const int kMaxReportedVariationChunks = 15;
32 32
33 // The maximum size of an experiment chunk. This size was picked to be 33 // The maximum size of a variation chunk. This size was picked to be
34 // consistent between platforms and the value was chosen from the Windows 34 // consistent between platforms and the value was chosen from the Windows
35 // limit of google_breakpad::CustomInfoEntry::kValueMaxLength. 35 // limit of google_breakpad::CustomInfoEntry::kValueMaxLength.
36 static const size_t kMaxExperimentChunkSize = 64; 36 static const size_t kMaxVariationChunkSize = 64;
37 37
38 // The maximum number of prn-info-* records. 38 // The maximum number of prn-info-* records.
39 static const size_t kMaxReportedPrinterRecords = 4; 39 static const size_t kMaxReportedPrinterRecords = 4;
40 40
41 // The maximum number of command line switches to include in the crash 41 // The maximum number of command line switches to include in the crash
42 // report's metadata. Note that the mini-dump itself will also contain the 42 // report's metadata. Note that the mini-dump itself will also contain the
43 // (original) command line arguments within the PEB. 43 // (original) command line arguments within the PEB.
44 // Also used in chrome/app, but we define it here to avoid a common->app 44 // Also used in chrome/app, but we define it here to avoid a common->app
45 // dependency. 45 // dependency.
46 static const size_t kMaxSwitches = 15; 46 static const size_t kMaxSwitches = 15;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 extern const int kMaxNumCrashURLChunks; 161 extern const int kMaxNumCrashURLChunks;
162 extern const int kMaxNumURLChunkValueLength; 162 extern const int kMaxNumURLChunkValueLength;
163 extern const char *kUrlChunkFormatStr; 163 extern const char *kUrlChunkFormatStr;
164 164
165 } // namespace child_process_logging 165 } // namespace child_process_logging
166 166
167 #endif // defined(OS_MACOSX) 167 #endif // defined(OS_MACOSX)
168 168
169 #endif // CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ 169 #endif // CHROME_COMMON_CHILD_PROCESS_LOGGING_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698