| 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 "components/bookmarks/browser/bookmark_client.h" | 5 #include "components/bookmarks/browser/bookmark_client.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 bool BookmarkClient::PreferTouchIcon() { | 9 bool BookmarkClient::PreferTouchIcon() { |
| 10 return false; | 10 return false; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 bool BookmarkClient::SupportsTypedCountForNodes() { | 22 bool BookmarkClient::SupportsTypedCountForNodes() { |
| 23 return false; | 23 return false; |
| 24 } | 24 } |
| 25 | 25 |
| 26 void BookmarkClient::GetTypedCountForNodes( | 26 void BookmarkClient::GetTypedCountForNodes( |
| 27 const NodeSet& nodes, | 27 const NodeSet& nodes, |
| 28 NodeTypedCountPairs* node_typed_count_pairs) { | 28 NodeTypedCountPairs* node_typed_count_pairs) { |
| 29 NOTREACHED(); | 29 NOTREACHED(); |
| 30 } | 30 } |
| 31 |
| 32 bool BookmarkClient::AllCanBeEditedByUser( |
| 33 const std::vector<const BookmarkNode*>& list) { |
| 34 for (size_t i = 0; i < list.size(); ++i) { |
| 35 if (!CanBeEditedByUser(list[i])) |
| 36 return false; |
| 37 } |
| 38 return true; |
| 39 } |
| OLD | NEW |