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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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" 9 #include "base/prefs/pref_service.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "build/build_config.h"
11 #include "chrome/browser/apps/app_window_registry_util.h" 12 #include "chrome/browser/apps/app_window_registry_util.h"
12 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
15 #include "chrome/common/chrome_content_client.h" 16 #include "chrome/common/chrome_content_client.h"
16 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
17 #include "components/autofill/content/browser/risk/fingerprint.h" 18 #include "components/autofill/content/browser/risk/fingerprint.h"
18 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" 19 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
19 #include "components/metrics/metrics_service.h" 20 #include "components/metrics/metrics_service.h"
20 #include "components/version_info/version_info.h" 21 #include "components/version_info/version_info.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 g_browser_process->metrics_service()->GetInstallDate()); 82 g_browser_process->metrics_service()->GetInstallDate());
82 83
83 risk::GetFingerprint(obfuscated_gaia_id, window_bounds, web_contents, 84 risk::GetFingerprint(obfuscated_gaia_id, window_bounds, web_contents,
84 version_info::GetVersionNumber(), charset, 85 version_info::GetVersionNumber(), charset,
85 accept_languages, install_time, 86 accept_languages, install_time,
86 g_browser_process->GetApplicationLocale(), 87 g_browser_process->GetApplicationLocale(),
87 GetUserAgent(), base::Bind(PassRiskData, callback)); 88 GetUserAgent(), base::Bind(PassRiskData, callback));
88 } 89 }
89 90
90 } // namespace autofill 91 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/form_structure_browsertest.cc ('k') | chrome/browser/autofill/validation_rules_storage_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698