Chromium Code Reviews| 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 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_ | |
| OLD | NEW |