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

Unified Diff: chrome/browser/autofill/risk/fingerprint.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/phone_number_unittest.cc ('k') | chrome/browser/autofill/risk/fingerprint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/risk/fingerprint.h
diff --git a/chrome/browser/autofill/risk/fingerprint.h b/chrome/browser/autofill/risk/fingerprint.h
deleted file mode 100644
index 83ce77ac8ae2b98f5ea50e09bff048c179f8c1c7..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/risk/fingerprint.h
+++ /dev/null
@@ -1,75 +0,0 @@
-// 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_FINGERPRINT_H_
-#define CHROME_BROWSER_AUTOFILL_RISK_FINGERPRINT_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
-
-class PrefService;
-
-namespace base {
-class Time;
-}
-
-namespace content {
-class WebContents;
-}
-
-namespace gfx {
-class Rect;
-}
-
-namespace WebKit {
-struct WebScreenInfo;
-}
-
-namespace autofill {
-namespace risk {
-
-class Fingerprint;
-
-// Asynchronously calls |callback| with statistics that, collectively, provide a
-// unique fingerprint for this (machine, user) pair, used for fraud prevention.
-// |gaia_id| should be the user id for Google's authentication system.
-// |window_bounds| should be the bounds of the containing Chrome window.
-// |web_contents| should be the host for the page the user is interacting with.
-// |version| is the version number of the application.
-// |charset| is the default character set.
-// |accept_languages| is the Accept-Languages setting.
-// |install_time| is the absolute time of installation.
-void GetFingerprint(
- int64 gaia_id,
- const gfx::Rect& window_bounds,
- const content::WebContents& web_contents,
- const std::string& version,
- const std::string& charset,
- const std::string& accept_languages,
- const base::Time& install_time,
- const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
-
-// Exposed for testing:
-namespace internal {
-
-void GetFingerprintInternal(
- int64 gaia_id,
- const gfx::Rect& window_bounds,
- const gfx::Rect& content_bounds,
- const WebKit::WebScreenInfo& screen_info,
- const std::string& version,
- const std::string& charset,
- const std::string& accept_languages,
- const base::Time& install_time,
- const base::Callback<void(scoped_ptr<Fingerprint>)>& callback);
-
-} // namespace internal
-
-} // namespace risk
-} // namespace autofill
-
-#endif // CHROME_BROWSER_AUTOFILL_RISK_FINGERPRINT_H_
« no previous file with comments | « chrome/browser/autofill/phone_number_unittest.cc ('k') | chrome/browser/autofill/risk/fingerprint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698