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

Side by Side Diff: components/autofill/content/browser/risk/fingerprint.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 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 <stdint.h> 15 #include <stdint.h>
16 16
17 #include <memory> 17 #include <memory>
18 #include <string> 18 #include <string>
19 19
20 #include "base/callback_forward.h" 20 #include "base/callback_forward.h"
21 #include "components/autofill/core/browser/autofill_client.h" 21 #include "components/autofill/core/browser/autofill_client.h"
22 22
23 class PrefService;
24
25 namespace base { 23 namespace base {
26 class Time; 24 class Time;
27 } 25 }
28 26
29 namespace content { 27 namespace content {
30 class WebContents; 28 class WebContents;
31 } 29 }
32 30
33 namespace gfx { 31 namespace gfx {
34 class Rect; 32 class Rect;
(...skipping 21 matching lines...) Expand all
56 const std::string& accept_languages, 54 const std::string& accept_languages,
57 const base::Time& install_time, 55 const base::Time& install_time,
58 const std::string& app_locale, 56 const std::string& app_locale,
59 const std::string& user_agent, 57 const std::string& user_agent,
60 const base::Callback<void(std::unique_ptr<Fingerprint>)>& callback); 58 const base::Callback<void(std::unique_ptr<Fingerprint>)>& callback);
61 59
62 } // namespace risk 60 } // namespace risk
63 } // namespace autofill 61 } // namespace autofill
64 62
65 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_ 63 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698