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

Unified Diff: components/bookmarks/browser/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: 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/offline_page_bookmark_observer.h
diff --git a/components/bookmarks/browser/offline_page_bookmark_observer.h b/components/bookmarks/browser/offline_page_bookmark_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..7a95a0be7b585f959741ae4a6b0515fa5fa2a69e
--- /dev/null
+++ b/components/bookmarks/browser/offline_page_bookmark_observer.h
@@ -0,0 +1,25 @@
+// 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_BOOKMARKS_BROWSER_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_
+#define COMPONENTS_BOOKMARKS_BROWSER_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_
+
+#include "components/bookmarks/browser/base_bookmark_model_observer.h"
+
+namespace bookmarks {
+
+class OfflinePageBookmarkObserver : public BaseBookmarkModelObserver {
+ public:
+ // Implement BaseBookmarkModelObserver
+ void BookmarkModelChanged() override {}
+ void BookmarkNodeRemoved(BookmarkModel* model,
+ const BookmarkNode* parent,
+ int old_index,
+ const BookmarkNode* node,
+ const std::set<GURL>& removed_urls) override {}
+};
+
+} // namespace bookmarks
+
+#endif // COMPONENTS_BOOKMARKS_BROWSER_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698