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

Unified Diff: chrome/browser/metrics/field_trial_synchronizer.cc

Issue 9432033: Add experiments info to crash dumps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: chrome/browser/metrics/field_trial_synchronizer.cc
===================================================================
--- chrome/browser/metrics/field_trial_synchronizer.cc (revision 125856)
+++ chrome/browser/metrics/field_trial_synchronizer.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "base/logging.h"
#include "base/threading/thread.h"
+#include "chrome/common/child_process_logging.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/render_messages.h"
#include "content/public/browser/browser_thread.h"
@@ -25,6 +26,10 @@
field_trial_synchronizer_ = NULL;
}
+void FieldTrialSynchronizer::Init() {
+ child_process_logging::InitExperimentList();
+}
+
void FieldTrialSynchronizer::NotifyAllRenderers(
const std::string& field_trial_name,
const std::string& group_name) {
@@ -49,6 +54,7 @@
this,
field_trial_name,
group_name));
+ child_process_logging::AddFieldTrialGroup(field_trial_name, group_name);
}
// static

Powered by Google App Engine
This is Rietveld 408576698