Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index edeed7859bf421be26f6801bc2933046e7ffaf19..eb5e66647ef99899704ab0cd0331622377941f1b 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -19,6 +19,8 @@ |
#include "base/threading/thread_task_runner_handle.h" |
#include "build/build_config.h" |
#include "chrome/browser/autocomplete/in_memory_url_index_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/bookmarks/bookmark_model_factory.h" |
#include "chrome/browser/bookmarks/chrome_bookmark_client.h" |
#include "chrome/browser/bookmarks/managed_bookmark_service_factory.h" |
@@ -972,6 +974,10 @@ content::PermissionManager* TestingProfile::GetPermissionManager() { |
return NULL; |
} |
+content::BackgroundFetchClient* TestingProfile::GetBackgroundFetchClient() { |
+ return BackgroundFetchClientFactory::GetForProfile(this); |
+} |
+ |
content::BackgroundSyncController* |
TestingProfile::GetBackgroundSyncController() { |
return nullptr; |