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

Side by Side Diff: content/public/browser/background_fetch_client.h

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: 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 CONTENT_PUBLIC_BROWSER_BACKGROUND_FETCH_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_BACKGROUND_FETCH_CLIENT_H_
7
8 #include "content/common/content_export.h"
9
10 namespace content {
11
12 class BackgroundFetchDelegate;
13
14 class CONTENT_EXPORT BackgroundFetchClient {
Peter Beverloo 2017/03/29 14:32:13 ++docs on this interface. Especially things like o
harkness 2017/03/30 12:42:36 Done.
15 public:
16 virtual void SetDelegate(BackgroundFetchDelegate* delegate) = 0;
17 virtual BackgroundFetchDelegate* GetDelegate() const = 0;
Peter Beverloo 2017/03/29 14:32:13 Why do we need GetDelegate()?
harkness 2017/03/30 12:42:36 I thought we were going to need one, but we don't.
18 };
Peter Beverloo 2017/03/29 14:32:13 Virtual base classes need to have a virtual destru
harkness 2017/03/30 12:42:36 Done.
19
20 } // namespace content
21
22 #endif // CONTENT_PUBLIC_BROWSER_BACKGROUND_FETCH_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698