Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_RISK_MACHINE_FINGERPRINT_H_ | |
| 6 #define CHROME_BROWSER_AUTOFILL_RISK_MACHINE_FINGERPRINT_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 | |
| 11 namespace gfx { | |
| 12 class Rect; | |
| 13 } | |
| 14 | |
| 15 namespace autofill { | |
| 16 namespace risk { | |
| 17 | |
| 18 class BrowserNativeFingerprinting; | |
| 19 | |
| 20 // Fills |data| with statistics that, collectively, constitute a unique | |
| 21 // fingerprint for this (machine, |gaia_id|) pair. The GAIA id is the user id | |
| 22 // for Google's authentication system. | |
| 23 void GetMachineFingerprint(int64 gaia_id, | |
|
Albert Bodenhamer
2012/12/19 22:14:18
Should we consider adding some sort of protection
Ilya Sherman
2012/12/20 04:06:49
I'm not aware of any way to check that currently;
| |
| 24 const gfx::Rect& window_rect, | |
| 25 const gfx::Rect& content_rect, | |
| 26 scoped_ptr<BrowserNativeFingerprinting> data); | |
| 27 | |
| 28 } // namespace risk | |
| 29 } // namespace autofill | |
| 30 | |
| 31 | |
| 32 #endif // CHROME_BROWSER_AUTOFILL_RISK_MACHINE_FINGERPRINT_H_ | |
| OLD | NEW |