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

Unified Diff: content/public/browser/browser_context.h

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: Fixed incognito check and added tests 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: 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;

Powered by Google App Engine
This is Rietveld 408576698