| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ios/chrome/browser/ui/bookmarks/bookmark_model_bridge_observer.h" | 5 #include "ios/chrome/browser/ui/bookmarks/bookmark_model_bridge_observer.h" |
| 6 | 6 |
| 7 #include <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "components/bookmarks/browser/bookmark_model.h" | 10 #include "components/bookmarks/browser/bookmark_model.h" |
| 11 | 11 |
| 12 namespace bookmarks { | 12 namespace bookmarks { |
| 13 | 13 |
| 14 BookmarkModelBridge::BookmarkModelBridge( | 14 BookmarkModelBridge::BookmarkModelBridge( |
| 15 id<BookmarkModelBridgeObserver> observer, | 15 id<BookmarkModelBridgeObserver> observer, |
| 16 BookmarkModel* model) | 16 BookmarkModel* model) |
| 17 : observer_(observer), model_(model) { | 17 : observer_(observer), model_(model) { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 [observer_ bookmarkNodeChildrenChanged:node]; | 80 [observer_ bookmarkNodeChildrenChanged:node]; |
| 81 } | 81 } |
| 82 | 82 |
| 83 void BookmarkModelBridge::BookmarkAllUserNodesRemoved( | 83 void BookmarkModelBridge::BookmarkAllUserNodesRemoved( |
| 84 BookmarkModel* model, | 84 BookmarkModel* model, |
| 85 const std::set<GURL>& removed_urls) { | 85 const std::set<GURL>& removed_urls) { |
| 86 [observer_ bookmarkModelRemovedAllNodes]; | 86 [observer_ bookmarkModelRemovedAllNodes]; |
| 87 } | 87 } |
| 88 | 88 |
| 89 } // namespace bookmarks | 89 } // namespace bookmarks |
| OLD | NEW |