| 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. |
| 11 | 11 |
| 12 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ | 12 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ |
| 13 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ | 13 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ |
| 14 | 14 |
| 15 #include <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
| 18 #include "base/callback_forward.h" | 18 #include "base/callback_forward.h" |
| 19 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 20 #include "components/autofill/browser/autofill_manager_delegate.h" | 20 #include "components/autofill/core/browser/autofill_manager_delegate.h" |
| 21 | 21 |
| 22 class PrefService; | 22 class PrefService; |
| 23 | 23 |
| 24 namespace base { | 24 namespace base { |
| 25 class Time; | 25 class Time; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class WebContents; | 29 class WebContents; |
| 30 } | 30 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 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 DialogType dialog_type, | 61 DialogType dialog_type, |
| 62 const std::string& app_locale, | 62 const std::string& app_locale, |
| 63 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); | 63 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); |
| 64 | 64 |
| 65 } // namespace risk | 65 } // namespace risk |
| 66 } // namespace autofill | 66 } // namespace autofill |
| 67 | 67 |
| 68 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ | 68 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ |
| OLD | NEW |