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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2127143002: Integrate audible tab tracking into desktop engagement service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | chrome/browser/metrics/audible_contents_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 54df3f5641ce39e4442445d9eab7d90651824854..67e50d29d426eda2b329b4209a051b0540530ced 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -267,6 +267,10 @@
#include "services/shell/runner/common/client_util.h"
#endif
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
+#include "chrome/browser/metrics/desktop_engagement_service.h"
+#endif
+
using content::BrowserThread;
namespace {
@@ -786,6 +790,11 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
// that was already chosen.
sampling_profiler_config_.RegisterSyntheticFieldTrial();
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
+ // Start the DesktopEngagementService.
+ DesktopEngagementService::Initialize();
+#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
+
#if defined(OS_WIN)
chrome_browser::SetupPreReadFieldTrial();
#endif // defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/metrics/audible_contents_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698