OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Generates fingerprints appropriate for sending to the Google Wallet Risk | 5 // Generates fingerprints appropriate for sending to the Google Wallet Risk |
6 // engine, which is the fraud-detection engine used for purchases powered by | 6 // engine, which is the fraud-detection engine used for purchases powered by |
7 // Google Wallet. A fingerprint encapsulates machine and user characteristics. | 7 // Google Wallet. A fingerprint encapsulates machine and user characteristics. |
8 // Because much of the data is privacy-sensitive, fingerprints should only be | 8 // Because much of the data is privacy-sensitive, fingerprints should only be |
9 // generated with explicit user consent, including consent to gather geolocation | 9 // generated with explicit user consent, including consent to gather geolocation |
10 // data. | 10 // data. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // |install_time| is the absolute time of installation. | 52 // |install_time| is the absolute time of installation. |
53 void GetFingerprint( | 53 void GetFingerprint( |
54 uint64 obfuscated_gaia_id, | 54 uint64 obfuscated_gaia_id, |
55 const gfx::Rect& window_bounds, | 55 const gfx::Rect& window_bounds, |
56 const content::WebContents& web_contents, | 56 const content::WebContents& web_contents, |
57 const std::string& version, | 57 const std::string& version, |
58 const std::string& charset, | 58 const std::string& charset, |
59 const std::string& accept_languages, | 59 const std::string& accept_languages, |
60 const base::Time& install_time, | 60 const base::Time& install_time, |
61 const std::string& app_locale, | 61 const std::string& app_locale, |
| 62 const std::string& user_agent, |
62 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); | 63 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); |
63 | 64 |
64 } // namespace risk | 65 } // namespace risk |
65 } // namespace autofill | 66 } // namespace autofill |
66 | 67 |
67 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ | 68 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ |
OLD | NEW |