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

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: Prevent re-registration. 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/sw_reporter_installer_win.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 6a94bcf53b167a74ce0ea4c63cf52dac694e85f0..274535d5ad8b030ba5235e1cca4c86441b27cc8b 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)
Sorin Jianu 2014/06/20 00:31:43 do we want to move this to line 167 and below wher
MAD 2014/06/20 04:51:59 Done.
+#include "chrome/browser/component_updater/sw_reporter_installer_win.h"
+#endif
+
#if defined(OS_ANDROID)
#include "chrome/browser/metrics/thread_watcher_android.h"
#else
@@ -407,6 +411,10 @@ void RegisterComponentsForUpdate(const CommandLine& command_line) {
RegisterCldComponent(cus);
#endif
+#if defined(OS_WIN)
+ ExecutePendingSwReporter(cus, g_browser_process->local_state());
+#endif
+
cus->Start();
}
« no previous file with comments | « no previous file | chrome/browser/component_updater/sw_reporter_installer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698