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

Unified Diff: chrome/browser/autofill/risk_util.cc

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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/autofill/risk_util.cc
diff --git a/chrome/browser/autofill/risk_util.cc b/chrome/browser/autofill/risk_util.cc
index 27ac4309334d430344354ff085aabdcaa30a86bd..026fdc138951ecf7dbb2a416c37880101ca5dca6 100644
--- a/chrome/browser/autofill/risk_util.cc
+++ b/chrome/browser/autofill/risk_util.cc
@@ -13,11 +13,11 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_content_client.h"
-#include "chrome/common/chrome_version_info.h"
#include "chrome/common/pref_names.h"
#include "components/autofill/content/browser/risk/fingerprint.h"
#include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
#include "components/metrics/metrics_service.h"
+#include "components/version_info/version_info.h"
#include "content/public/browser/web_contents.h"
#if !defined(OS_ANDROID)
@@ -81,7 +81,7 @@ void LoadRiskData(uint64 obfuscated_gaia_id,
g_browser_process->metrics_service()->GetInstallDate());
risk::GetFingerprint(obfuscated_gaia_id, window_bounds, web_contents,
- chrome::VersionInfo().Version(), charset,
+ version_info::GetVersionNumber(), charset,
accept_languages, install_time,
g_browser_process->GetApplicationLocale(),
GetUserAgent(), base::Bind(PassRiskData, callback));
« no previous file with comments | « chrome/browser/apps/app_window_intercept_all_keys_uitest.cc ('k') | chrome/browser/chrome_browser_field_trials.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698