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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 333193002: Adding a SW reporter component updater (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added some comments. Created 6 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
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 4f9f0945f9ad0d579897bae7b747c03bac14cda3..36280b6db84b3513db3fa1452bb3b907f97a11be 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -138,6 +138,10 @@
#include "ui/base/layout.h"
#include "ui/base/resource/resource_bundle.h"
+#if defined(OS_WIN)
+#include "chrome/browser/component_updater/sw_reporter_component_installer_win.h"
Sorin Jianu 2014/06/19 19:08:48 It appears OS_WIN specific includes start at line
+#endif
+
#if defined(OS_ANDROID)
#include "chrome/browser/metrics/thread_watcher_android.h"
#else
@@ -413,6 +417,10 @@ void RegisterComponentsForUpdate(const CommandLine& command_line) {
RegisterCldComponent(cus);
#endif
+#if defined(OS_WIN)
Sorin Jianu 2014/06/19 19:08:48 Can we make this code looks like a registration? I
+ ExecutePendingSwReporterComponent(cus, g_browser_process->local_state());
+#endif
+
cus->Start();
}

Powered by Google App Engine
This is Rietveld 408576698