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

Unified Diff: chrome/renderer/chrome_render_process_observer.cc

Issue 9432033: Add experiments info to crash dumps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Last Few Nits 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
« no previous file with comments | « chrome/common/metrics/experiments_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_process_observer.cc
===================================================================
--- chrome/renderer/chrome_render_process_observer.cc (revision 130670)
+++ chrome/renderer/chrome_render_process_observer.cc (working copy)
@@ -15,9 +15,11 @@
#include "base/path_service.h"
#include "base/process_util.h"
#include "base/threading/platform_thread.h"
+#include "chrome/common/child_process_logging.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/extension_localization_peer.h"
+#include "chrome/common/metrics/experiments_helper.h"
#include "chrome/common/net/net_resource_provider.h"
#include "chrome/common/render_messages.h"
#include "chrome/renderer/chrome_content_renderer_client.h"
@@ -222,6 +224,8 @@
std::string error;
base::LoadNativeLibrary(FilePath(L"crypt32.dll"), &error);
#endif
+ // Setup initial set of crash dump data for Field Trials in this renderer.
+ ExperimentsHelper::SetChildProcessLoggingExperimentList();
}
ChromeRenderProcessObserver::~ChromeRenderProcessObserver() {
@@ -332,6 +336,7 @@
const std::string& field_trial_name,
const std::string& group_name) {
base::FieldTrialList::CreateFieldTrial(field_trial_name, group_name);
+ ExperimentsHelper::SetChildProcessLoggingExperimentList();
}
void ChromeRenderProcessObserver::OnGetV8HeapStats() {
« no previous file with comments | « chrome/common/metrics/experiments_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698