Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
index 8c330f94d79545b56f887b9a6711474de2bb2dad..b948b4325b6c5f78fa00e66f78cdad722c2482ad 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -16,6 +16,8 @@ |
#include "base/strings/string_util.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/browser_process.h" |
@@ -400,6 +402,11 @@ content::PermissionManager* OffTheRecordProfileImpl::GetPermissionManager() { |
return PermissionManagerFactory::GetForProfile(this); |
} |
+content::BackgroundFetchClient* |
+OffTheRecordProfileImpl::GetBackgroundFetchClient() { |
+ return BackgroundFetchClientFactory::GetForProfile(this); |
+} |
+ |
content::BackgroundSyncController* |
OffTheRecordProfileImpl::GetBackgroundSyncController() { |
return BackgroundSyncControllerFactory::GetForProfile(this); |