Chromium Code Reviews| Index: chrome/browser/autofill/risk/machine_fingerprint.h |
| diff --git a/chrome/browser/autofill/risk/machine_fingerprint.h b/chrome/browser/autofill/risk/machine_fingerprint.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8416dab1f233c50f95b42cb1203261125d433f82 |
| --- /dev/null |
| +++ b/chrome/browser/autofill/risk/machine_fingerprint.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_AUTOFILL_RISK_MACHINE_FINGERPRINT_H_ |
| +#define CHROME_BROWSER_AUTOFILL_RISK_MACHINE_FINGERPRINT_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "base/memory/scoped_ptr.h" |
| + |
| +namespace gfx { |
| +class Rect; |
| +} |
| + |
| +namespace autofill { |
| +namespace risk { |
| + |
| +class BrowserNativeFingerprinting; |
| + |
| +// Fills |data| with statistics that, collectively, constitute a unique |
| +// fingerprint for this (machine, |gaia_id|) pair. The GAIA id is the user id |
| +// for Google's authentication system. |
| +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;
|
| + const gfx::Rect& window_rect, |
| + const gfx::Rect& content_rect, |
| + scoped_ptr<BrowserNativeFingerprinting> data); |
| + |
| +} // namespace risk |
| +} // namespace autofill |
| + |
| + |
| +#endif // CHROME_BROWSER_AUTOFILL_RISK_MACHINE_FINGERPRINT_H_ |