| Index: components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| diff --git a/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc b/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| index 8a19614129ec9ba6e8c6c6ede94248bd038bcd1a..1f4a28f20d7afdb601c3ba82c4906d3098c28f43 100644
|
| --- a/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| +++ b/components/sync_bookmarks/bookmark_data_type_controller_unittest.cc
|
| @@ -14,7 +14,9 @@
|
| #include "base/run_loop.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "components/bookmarks/browser/bookmark_model.h"
|
| +#include "components/bookmarks/browser/owned_bookmark_model_observer.h"
|
| #include "components/bookmarks/test/bookmark_test_helpers.h"
|
| +#include "components/bookmarks/test/mock_bookmark_model_observer.h"
|
| #include "components/bookmarks/test/test_bookmark_client.h"
|
| #include "components/history/core/browser/history_service.h"
|
| #include "components/prefs/testing_pref_service.h"
|
| @@ -90,7 +92,8 @@ class SyncBookmarkDataTypeControllerTest : public testing::Test,
|
|
|
| void CreateBookmarkModel(BookmarkLoadPolicy bookmark_load_policy) {
|
| bookmark_model_.reset(new BookmarkModel(
|
| - base::WrapUnique(new bookmarks::TestBookmarkClient())));
|
| + base::WrapUnique(new bookmarks::TestBookmarkClient()),
|
| + base::WrapUnique(new bookmarks::OwnedBookmarkModelObserver())));
|
| if (bookmark_load_policy == LOAD_MODEL) {
|
| TestingPrefServiceSimple prefs;
|
| bookmark_model_->Load(&prefs, base::FilePath(),
|
|
|