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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Seperated log generation and uploading Created 7 years 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 36f411201d7135565472351f070dc5f8e5284f3e..c264e129592a9d3c4115d4161ea14f6207a16b53 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -115,6 +115,7 @@
#include "chrome/installer/util/google_update_settings.h"
#include "components/nacl/browser/nacl_browser.h"
#include "components/nacl/browser/nacl_process_host.h"
+#include "components/rappor/rappor_service.h"
#include "components/startup_metric_utils/startup_metric_utils.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_observer.h"
@@ -1125,6 +1126,8 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
#if !defined(OS_ANDROID)
// Now that the file thread has been started, start recording.
StartMetricsRecording();
+ rappor::g_rappor_service.Get().Start(browser_process_->local_state(),
+ browser_process_->system_request_context());
Alexei Svitkine (slow) 2013/12/11 15:27:05 Nit: Indent 2 more per C++ style.
Steven Holte 2013/12/11 20:31:26 Done.
#endif
// Create watchdog thread after creating all other threads because it will

Powered by Google App Engine
This is Rietveld 408576698