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

Side by Side Diff: chrome/browser/autofill/risk/machine_fingerprint.h

Issue 11612017: [Autofill] Add protobuf for Google Wallet risk parameters and a utility function for filling it out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean it up! Created 8 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698