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

Side by Side Diff: chrome/browser/autofill/risk_util.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/autofill/risk_util.h" 5 #include "chrome/browser/autofill/risk_util.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/prefs/pref_service.h"
10 #include "base/time/time.h" 9 #include "base/time/time.h"
11 #include "build/build_config.h" 10 #include "build/build_config.h"
12 #include "chrome/browser/apps/app_window_registry_util.h" 11 #include "chrome/browser/apps/app_window_registry_util.h"
13 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
16 #include "chrome/common/chrome_content_client.h" 15 #include "chrome/common/chrome_content_client.h"
17 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
18 #include "components/autofill/content/browser/risk/fingerprint.h" 17 #include "components/autofill/content/browser/risk/fingerprint.h"
19 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 18 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
20 #include "components/metrics/metrics_service.h" 19 #include "components/metrics/metrics_service.h"
20 #include "components/prefs/pref_service.h"
21 #include "components/version_info/version_info.h" 21 #include "components/version_info/version_info.h"
22 #include "content/public/browser/web_contents.h" 22 #include "content/public/browser/web_contents.h"
23 23
24 #if !defined(OS_ANDROID) 24 #if !defined(OS_ANDROID)
25 #include "chrome/browser/ui/browser_finder.h" 25 #include "chrome/browser/ui/browser_finder.h"
26 #include "chrome/browser/ui/browser_window.h" 26 #include "chrome/browser/ui/browser_window.h"
27 #include "extensions/browser/app_window/app_window.h" 27 #include "extensions/browser/app_window/app_window.h"
28 #include "extensions/browser/app_window/native_app_window.h" 28 #include "extensions/browser/app_window/native_app_window.h"
29 #include "ui/base/base_window.h" 29 #include "ui/base/base_window.h"
30 #endif 30 #endif
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 g_browser_process->metrics_service()->GetInstallDate()); 82 g_browser_process->metrics_service()->GetInstallDate());
83 83
84 risk::GetFingerprint(obfuscated_gaia_id, window_bounds, web_contents, 84 risk::GetFingerprint(obfuscated_gaia_id, window_bounds, web_contents,
85 version_info::GetVersionNumber(), charset, 85 version_info::GetVersionNumber(), charset,
86 accept_languages, install_time, 86 accept_languages, install_time,
87 g_browser_process->GetApplicationLocale(), 87 g_browser_process->GetApplicationLocale(),
88 GetUserAgent(), base::Bind(PassRiskData, callback)); 88 GetUserAgent(), base::Bind(PassRiskData, callback));
89 } 89 }
90 90
91 } // namespace autofill 91 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698