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

Side by Side Diff: chrome/browser/search/one_google_bar/one_google_bar_fetcher.h

Issue 2814753002: Local NTP: Introduce OneGoogleBarFetcher (Closed)
Patch Set: copy ctor 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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698