Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index 89461daa21f4788658306876b3e21fd79e7a810f..39fc3a0393098c3fecdf00c31bce4fa47c42d7bd 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -49,6 +49,7 @@ class SpecialStoragePolicy; |
namespace content { |
+class BackgroundFetchClient; |
class BackgroundSyncController; |
class BlobHandle; |
class BrowserPluginGuestManager; |
@@ -218,6 +219,10 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
// otherwise. |
virtual PermissionManager* GetPermissionManager() = 0; |
+ // Returns the BackgroundFetchClient associated with the context if any, |
+ // nullptr otherwise. |
+ virtual BackgroundFetchClient* GetBackgroundFetchClient() = 0; |
+ |
// Returns the BackgroundSyncController associated with that context if any, |
// nullptr otherwise. |
virtual BackgroundSyncController* GetBackgroundSyncController() = 0; |