OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // |install_time| is the absolute time of installation. | 46 // |install_time| is the absolute time of installation. |
47 void GetFingerprint( | 47 void GetFingerprint( |
48 int64 gaia_id, | 48 int64 gaia_id, |
49 const gfx::Rect& window_bounds, | 49 const gfx::Rect& window_bounds, |
50 const content::WebContents& web_contents, | 50 const content::WebContents& web_contents, |
51 const std::string& version, | 51 const std::string& version, |
52 const std::string& charset, | 52 const std::string& charset, |
53 const std::string& accept_languages, | 53 const std::string& accept_languages, |
54 const base::Time& install_time, | 54 const base::Time& install_time, |
55 DialogType dialog_type, | 55 DialogType dialog_type, |
| 56 const std::string& app_locale, |
56 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); | 57 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); |
57 | 58 |
58 // Exposed for testing: | 59 // Exposed for testing: |
59 namespace internal { | 60 namespace internal { |
60 | 61 |
61 void GetFingerprintInternal( | 62 void GetFingerprintInternal( |
62 int64 gaia_id, | 63 int64 gaia_id, |
63 const gfx::Rect& window_bounds, | 64 const gfx::Rect& window_bounds, |
64 const gfx::Rect& content_bounds, | 65 const gfx::Rect& content_bounds, |
65 const WebKit::WebScreenInfo& screen_info, | 66 const WebKit::WebScreenInfo& screen_info, |
66 const std::string& version, | 67 const std::string& version, |
67 const std::string& charset, | 68 const std::string& charset, |
68 const std::string& accept_languages, | 69 const std::string& accept_languages, |
69 const base::Time& install_time, | 70 const base::Time& install_time, |
70 DialogType dialog_type, | 71 DialogType dialog_type, |
| 72 const std::string& app_locale, |
71 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); | 73 const base::Callback<void(scoped_ptr<Fingerprint>)>& callback); |
72 | 74 |
73 } // namespace internal | 75 } // namespace internal |
74 | 76 |
75 } // namespace risk | 77 } // namespace risk |
76 } // namespace autofill | 78 } // namespace autofill |
77 | 79 |
78 #endif // COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_ | 80 #endif // COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_ |
OLD | NEW |