| Index: chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| index 4e2e4618ace83510f79fcf4f3b3f2a71511d317d..a8d42fa886d747071409039c24cd91b8f42f9958 100644
|
| --- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| +++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/browser/bookmarks/bookmark_model_factory.h"
|
| #include "chrome/browser/bookmarks/chrome_bookmark_client.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| +#include "chrome/browser/history/history_client_factory.h"
|
| #include "chrome/browser/history/history_service.h"
|
| #include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -51,7 +52,8 @@ namespace {
|
|
|
| class HistoryMock : public HistoryService {
|
| public:
|
| - explicit HistoryMock(Profile* profile) : HistoryService(profile) {}
|
| + explicit HistoryMock(history::HistoryClient* client, Profile* profile)
|
| + : HistoryService(client, profile) {}
|
| MOCK_METHOD0(BackendLoaded, bool(void));
|
|
|
| protected:
|
| @@ -81,7 +83,9 @@ KeyedService* BuildBookmarkModelWithoutLoading(
|
| }
|
|
|
| KeyedService* BuildHistoryService(content::BrowserContext* profile) {
|
| - return new HistoryMock(static_cast<Profile*>(profile));
|
| + return new HistoryMock(
|
| + HistoryClientFactory::GetForProfile(static_cast<Profile*>(profile)),
|
| + static_cast<Profile*>(profile));
|
| }
|
|
|
| } // namespace
|
|
|