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

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

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: patchset 15 which works Created 6 years, 9 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 | Annotate | Revision Log
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.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | components/autofill/content/browser/risk/fingerprint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698