Chromium Code Reviews| 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..cdba90dda3e61563cf52b4ede4192641da5eb6d1 100644 |
| --- a/components/bookmarks/browser/bookmark_model.h |
| +++ b/components/bookmarks/browser/bookmark_model.h |
| @@ -24,6 +24,7 @@ |
| #include "components/bookmarks/browser/bookmark_node.h" |
| #include "components/bookmarks/browser/bookmark_undo_provider.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| +#include "components/offline_pages/external_listener.h" |
| #include "ui/gfx/image/image.h" |
| #include "url/gurl.h" |
| @@ -73,7 +74,9 @@ class BookmarkModel : public BookmarkUndoProvider, |
| base::string16 title; |
| }; |
| - explicit BookmarkModel(std::unique_ptr<BookmarkClient> client); |
| + explicit BookmarkModel( |
|
Dmitry Titov
2016/08/12 05:43:43
when ctor takes more then one arg, it should not b
romax
2016/08/16 19:05:44
Done.
|
| + std::unique_ptr<BookmarkClient> client, |
| + std::unique_ptr<offline_pages::ExternalListener> offline_page_listener); |
| ~BookmarkModel() override; |
| // KeyedService: |
| @@ -422,6 +425,8 @@ class BookmarkModel : public BookmarkUndoProvider, |
| std::unique_ptr<BookmarkClient> client_; |
| + std::unique_ptr<offline_pages::ExternalListener> offline_page_listener_; |
| + |
| // Whether the initial set of data has been loaded. |
| bool loaded_; |