| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 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 COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/callback.h" |
| 11 |
| 12 namespace autofill { |
| 13 |
| 14 class RiskDataLoader { |
| 15 public: |
| 16 // Gathers risk data and provides it to |callback|. |
| 17 virtual void LoadRiskData( |
| 18 const base::Callback<void(const std::string&)>& callback) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~RiskDataLoader() {} |
| 22 }; |
| 23 |
| 24 } // namespace autofill |
| 25 |
| 26 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_ |
| OLD | NEW |