| Index: components/autofill/core/browser/risk_data_loader.h
|
| diff --git a/components/autofill/core/browser/risk_data_loader.h b/components/autofill/core/browser/risk_data_loader.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..be3def3bddac81097cbbfc851fb458955019dae2
|
| --- /dev/null
|
| +++ b/components/autofill/core/browser/risk_data_loader.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2017 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 COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_
|
| +#define COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/callback.h"
|
| +
|
| +namespace autofill {
|
| +
|
| +class RiskDataLoader {
|
| + public:
|
| + // Gathers risk data and provides it to |callback|.
|
| + virtual void LoadRiskData(
|
| + const base::Callback<void(const std::string&)>& callback) = 0;
|
| +
|
| + protected:
|
| + virtual ~RiskDataLoader() {}
|
| +};
|
| +
|
| +} // namespace autofill
|
| +
|
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_
|
|
|