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

Unified Diff: components/bookmarks/browser/bookmark_model.h

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/browser/bookmark_model.h
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h
index 61cdfa48bc417a24941731d52af91ecfbd698d70..1c10ece2d300b3c104eddc7ef981aa589bb15946 100644
--- a/components/bookmarks/browser/bookmark_model.h
+++ b/components/bookmarks/browser/bookmark_model.h
@@ -51,6 +51,7 @@ class BookmarkLoadDetails;
class BookmarkModelObserver;
class BookmarkStorage;
class BookmarkUndoDelegate;
+class OfflinePageBookmarkObserver;
class ScopedGroupBookmarkActions;
class TestBookmarkClient;
struct BookmarkMatch;
@@ -73,7 +74,9 @@ class BookmarkModel : public BookmarkUndoProvider,
base::string16 title;
};
- explicit BookmarkModel(std::unique_ptr<BookmarkClient> client);
+ BookmarkModel(
+ std::unique_ptr<BookmarkClient> client,
+ std::unique_ptr<OfflinePageBookmarkObserver> offline_page_observer);
~BookmarkModel() override;
// KeyedService:
@@ -422,6 +425,8 @@ class BookmarkModel : public BookmarkUndoProvider,
std::unique_ptr<BookmarkClient> client_;
+ std::unique_ptr<OfflinePageBookmarkObserver> offline_page_observer_;
+
// Whether the initial set of data has been loaded.
bool loaded_;

Powered by Google App Engine
This is Rietveld 408576698