blob: e462a388688cb60861e5ed4bde1cffb0ad3e5ae7 [file] [log] [blame]
// Copyright 2015 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.
#include <stdint.h>
#include <string>
#include "base/callback_forward.h"
namespace content {
class WebContents;
namespace autofill {
// Loads risk data for the client, getting the device's risk fingerprint before
// calling |callback|. |obfuscated_gaia_id| is used in the fingerprinting
// process if provided. |web_contents| is used during fingerprinting as well,
// when retrieving user prefs, and in determining window bounds when not on
// Android.
void LoadRiskData(uint64_t obfuscated_gaia_id,
content::WebContents* web_contents,
base::OnceCallback<void(const std::string&)> callback);
} // namespace autofill