Chromium Code Reviews| Index: components/offline_pages/external_listener.h |
| diff --git a/components/offline_pages/external_listener.h b/components/offline_pages/external_listener.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..72fd7085dc87e0573b75128d04dbdac57e200e63 |
| --- /dev/null |
| +++ b/components/offline_pages/external_listener.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_OFFLINE_PAGES_EXTERNAL_LISTENER_H_ |
| +#define COMPONENTS_OFFLINE_PAGES_EXTERNAL_LISTENER_H_ |
| + |
| +#include "components/bookmarks/browser/base_bookmark_model_observer.h" |
| + |
| +namespace bookmarks { |
| +class BookmarkModel; |
| +class BookmarkNode; |
| +} // namespace base |
| + |
| +namespace offline_pages { |
| + |
| +class ExternalListener : public bookmarks::BaseBookmarkModelObserver { |
|
Dmitry Titov
2016/08/12 05:43:43
Lets name it somehow with "Bookmark" word, somethi
romax
2016/08/16 19:05:44
Done.
|
| + public: |
| + void BookmarkModelChanged() override {} |
| + |
| + void BookmarkNodeRemoved(bookmarks::BookmarkModel* model, |
| + const bookmarks::BookmarkNode* parent, |
| + int old_index, |
| + const bookmarks::BookmarkNode* node, |
| + const std::set<GURL>& removed_urls) override {} |
|
Dmitry Titov
2016/08/12 05:43:43
I think this can be made abstract method, since it
romax
2016/08/16 19:05:44
Done.
|
| +}; |
| + |
| +} // namespace offline_pages |
| + |
| +#endif // COMPONENTS_OFFLINE_PAGES_EXTERNAL_LISTENER_H_ |