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

Side by Side Diff: components/offline_pages/offline_page_bookmark_observer.h

Issue 2185973003: [Offline Pages] Delete associated page along with bookmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unintended changes. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_
7
8 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
9
10 namespace bookmarks {
11 class BookmarkModel;
12 class BookmarkNode;
13 } // namespace bookmarks
14
15 namespace offline_pages {
16
17 class OfflinePageModel;
18
19 class OfflinePageBookmarkObserver
20 : public bookmarks::BaseBookmarkModelObserver {
21 public:
22 OfflinePageBookmarkObserver(OfflinePageModel* model);
23
24 void BookmarkModelChanged() override;
25
26 void BookmarkNodeRemoved(bookmarks::BookmarkModel* model,
27 const bookmarks::BookmarkNode* parent,
28 int old_index,
29 const bookmarks::BookmarkNode* node,
30 const std::set<GURL>& removed_urls) override;
31
32 private:
33 OfflinePageModel* model_;
34 };
35
36 } // namespace offline_pages
37
38 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698