Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: components/autofill/core/browser/risk_data_loader.h

Issue 2794613002: Remove FullCardRequest's dependency on AutofillClient. (Closed)
Patch Set: Add risk_data_loader.h to BUILD. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698