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

Unified Diff: chrome/browser/search/one_google_bar/one_google_bar_fetcher.h

Issue 2811353002: Local NTP: Introduce OneGoogleBarService (Closed)
Patch Set: fix memleak 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search/one_google_bar/one_google_bar_fetcher.h
diff --git a/chrome/browser/search/one_google_bar/one_google_bar_fetcher.h b/chrome/browser/search/one_google_bar/one_google_bar_fetcher.h
index 4b42d42114bd4c174154f0ae19967ecd6c443ce8..21b6e34003055229dddc92c2e56b7044da6fb39b 100644
--- a/chrome/browser/search/one_google_bar/one_google_bar_fetcher.h
+++ b/chrome/browser/search/one_google_bar/one_google_bar_fetcher.h
@@ -16,6 +16,8 @@ class OneGoogleBarFetcher {
using OneGoogleCallback =
base::OnceCallback<void(const base::Optional<OneGoogleBarData>&)>;
+ virtual ~OneGoogleBarFetcher() = default;
+
// Initiates a fetch from the network. On completion (successful or not), the
// callback will be called with the result, which will be nullopt on failure.
virtual void Fetch(OneGoogleCallback callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698