Chromium Code Reviews| 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 virtual ~RiskDataLoader() {} | |
|
Mathieu
2017/03/31 19:04:03
I think this can be protected?
anthonyvd
2017/04/03 15:01:20
Done.
| |
| 17 | |
| 18 // Gathers risk data and provides it to |callback|. | |
| 19 virtual void LoadRiskData( | |
| 20 const base::Callback<void(const std::string&)>& callback) = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace autofill | |
| 24 | |
| 25 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_RISK_DATA_LOADER_H_ | |
| OLD | NEW |