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

Unified Diff: chrome/browser/profiles/profile_impl.cc

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: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 0e6340d54882e17307f2bf2a0251ccfcbf8fdbcb..8823647736507bcbc319b4ab11691f6d63ebf4e3 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -32,6 +32,8 @@
#include "base/version.h"
#include "build/build_config.h"
#include "chrome/browser/background/background_contents_service_factory.h"
+#include "chrome/browser/background_fetch/background_fetch_client_factory.h"
+#include "chrome/browser/background_fetch/background_fetch_client_impl.h"
#include "chrome/browser/background_sync/background_sync_controller_factory.h"
#include "chrome/browser/background_sync/background_sync_controller_impl.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
@@ -1034,6 +1036,10 @@ content::PermissionManager* ProfileImpl::GetPermissionManager() {
return PermissionManagerFactory::GetForProfile(this);
}
+content::BackgroundFetchClient* ProfileImpl::GetBackgroundFetchClient() {
+ return BackgroundFetchClientFactory::GetForProfile(this);
+}
+
content::BackgroundSyncController* ProfileImpl::GetBackgroundSyncController() {
return BackgroundSyncControllerFactory::GetForProfile(this);
}

Powered by Google App Engine
This is Rietveld 408576698