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

Unified Diff: chrome/browser/google/google_update_win.cc

Issue 2619323003: Remove uses of BrowserDistribution::CHROME_BINARIES in installer_util. (Closed)
Patch Set: Created 3 years, 11 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/google/google_update_win.cc
diff --git a/chrome/browser/google/google_update_win.cc b/chrome/browser/google/google_update_win.cc
index a23740bb0589e01480a7d12b047aec2f2bdebf55..1271cfc2d87e1d406b1060c82fca345e7fe3b3c2 100644
--- a/chrome/browser/google/google_update_win.cc
+++ b/chrome/browser/google/google_update_win.cc
@@ -9,6 +9,7 @@
#include <stdint.h>
#include <string.h>
+#include <string>
#include <utility>
#include <vector>
@@ -563,7 +564,7 @@ HRESULT UpdateCheckDriver::BeginUpdateCheckInternal(
// Get a reference to the Chrome app in the bundle.
if (!app_) {
base::string16 app_guid =
- installer::GetAppGuidForUpdates(system_level_install_);
+ BrowserDistribution::GetDistribution()->GetAppGuid();
DCHECK(!app_guid.empty());
base::win::ScopedComPtr<IDispatch> dispatch;

Powered by Google App Engine
This is Rietveld 408576698