Chromium Code Reviews| 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..8efc7e501e5c92bc6281a81ed4135ba9d3cd287d |
| --- /dev/null |
| +++ b/components/autofill/core/browser/risk_data_loader.h |
| @@ -0,0 +1,25 @@ |
| +// 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: |
| + virtual ~RiskDataLoader() {} |
|
Mathieu
2017/03/31 19:04:03
I think this can be protected?
anthonyvd
2017/04/03 15:01:20
Done.
|
| + |
| + // Gathers risk data and provides it to |callback|. |
| + virtual void LoadRiskData( |
| + const base::Callback<void(const std::string&)>& callback) = 0; |
| +}; |
| + |
| +} // namespace autofill |
| + |
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_ |