| 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 15 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class WebContents; | 29 class WebContents; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace gfx { | 32 namespace gfx { |
| 33 class Rect; | 33 class Rect; |
| 34 } | 34 } |
| 35 | 35 |
| 36 namespace WebKit { | 36 namespace blink { |
| 37 struct WebScreenInfo; | 37 struct WebScreenInfo; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace autofill { | 40 namespace autofill { |
| 41 namespace risk { | 41 namespace risk { |
| 42 | 42 |
| 43 class Fingerprint; | 43 class Fingerprint; |
| 44 | 44 |
| 45 // Asynchronously calls |callback| with statistics that, collectively, provide a | 45 // Asynchronously calls |callback| with statistics that, collectively, provide a |
| 46 // unique fingerprint for this (machine, user) pair, used for fraud prevention. | 46 // unique fingerprint for this (machine, user) pair, used for fraud prevention. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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 base::Callback<void(scoped_ptr<Fingerprint>)>& callback); | 62 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); |
| 63 | 63 |
| 64 } // namespace risk | 64 } // namespace risk |
| 65 } // namespace autofill | 65 } // namespace autofill |
| 66 | 66 |
| 67 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ | 67 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ |
| OLD | NEW |