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

Unified Diff: components/bookmarks/test/test_bookmark_client.cc

Issue 2185973003: [Offline Pages] Delete associated page along with bookmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Owned* to OfflinePageBookmarkObserver and Impl classes. Created 4 years, 4 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: components/bookmarks/test/test_bookmark_client.cc
diff --git a/components/bookmarks/test/test_bookmark_client.cc b/components/bookmarks/test/test_bookmark_client.cc
index 470f1c9927784cd33b4fdfeb0144682638120304..a2ca39357b9e930111dc1f837be0891ccdf4ecce 100644
--- a/components/bookmarks/test/test_bookmark_client.cc
+++ b/components/bookmarks/test/test_bookmark_client.cc
@@ -15,6 +15,7 @@
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/browser/bookmark_storage.h"
+#include "components/bookmarks/browser/offline_page_bookmark_observer.h"
namespace bookmarks {
@@ -30,8 +31,9 @@ std::unique_ptr<BookmarkModel> TestBookmarkClient::CreateModel() {
// static
std::unique_ptr<BookmarkModel> TestBookmarkClient::CreateModelWithClient(
std::unique_ptr<BookmarkClient> client) {
+ std::unique_ptr<OfflinePageBookmarkObserver> offline_page_observer;
std::unique_ptr<BookmarkModel> bookmark_model(
- new BookmarkModel(std::move(client)));
+ new BookmarkModel(std::move(client), std::move(offline_page_observer)));
std::unique_ptr<BookmarkLoadDetails> details =
bookmark_model->CreateLoadDetails();
details->LoadExtraNodes();

Powered by Google App Engine
This is Rietveld 408576698