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

Unified Diff: chrome/common/metrics/experiments_helper.h

Issue 10661057: [Mac] Add field trial tuples to breakpad crash reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/child_process_logging_mac.mm ('k') | chrome/common/metrics/experiments_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/metrics/experiments_helper.h
===================================================================
--- chrome/common/metrics/experiments_helper.h (revision 144791)
+++ chrome/common/metrics/experiments_helper.h (working copy)
@@ -10,6 +10,7 @@
#include <vector>
#include "base/metrics/field_trial.h"
+#include "base/string16.h"
#include "chrome/common/metrics/variation_ids.h"
// This namespace provides various helpers that extend the functionality around
@@ -101,6 +102,11 @@
chrome_variations::ID GetGoogleVariationID(const std::string& trial_name,
const std::string& group_name);
+// Generates experiment chunks from |experiment_strings| that are suitable for
+// crash reporting.
+void GenerateExperimentChunks(const std::vector<string16>& experiment_strings,
+ std::vector<string16>* chunks);
+
// Get the current set of chosen FieldTrial groups (aka experiments) and send
// them to the child process logging module so it can save it for crash dumps.
void SetChildProcessLoggingExperimentList();
@@ -117,6 +123,6 @@
uint32 TestHashName(const std::string& name);
-}
+} // namespace testing
#endif // CHROME_COMMON_METRICS_EXPERIMENTS_HELPER_H_
« no previous file with comments | « chrome/common/child_process_logging_mac.mm ('k') | chrome/common/metrics/experiments_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698