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 CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_FETCHER_H_ | |
6 #define CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_FETCHER_H_ | |
7 | |
8 #include "base/callback_forward.h" | |
9 #include "base/optional.h" | |
10 | |
11 struct OneGoogleBarData; | |
12 | |
13 class OneGoogleBarFetcher { | |
14 public: | |
15 using OneGoogleCallback = | |
16 base::OnceCallback<void(const base::Optional<OneGoogleBarData>&)>; | |
17 | |
18 virtual void Fetch(OneGoogleCallback callback) = 0; | |
sfiera
2017/04/12 17:25:47
Comments?
In particular, I would wonder if the ca
Marc Treib
2017/04/13 09:03:34
Added a comment which hopefully makes things clear
| |
19 }; | |
20 | |
21 #endif // CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_FETCHER_H_ | |
OLD | NEW |