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/test/test_bookmark_client.h" | 5 #include "components/bookmarks/test/test_bookmark_client.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "components/bookmarks/browser/bookmark_model.h" | 12 #include "components/bookmarks/browser/bookmark_model.h" |
11 #include "components/bookmarks/browser/bookmark_node.h" | 13 #include "components/bookmarks/browser/bookmark_node.h" |
12 #include "components/bookmarks/browser/bookmark_storage.h" | 14 #include "components/bookmarks/browser/bookmark_storage.h" |
13 | 15 |
14 namespace bookmarks { | 16 namespace bookmarks { |
15 | 17 |
16 TestBookmarkClient::TestBookmarkClient() {} | 18 TestBookmarkClient::TestBookmarkClient() {} |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 return !IsAnExtraNode(node); | 79 return !IsAnExtraNode(node); |
78 } | 80 } |
79 | 81 |
80 bool TestBookmarkClient::CanBeEditedByUser(const BookmarkNode* node) { | 82 bool TestBookmarkClient::CanBeEditedByUser(const BookmarkNode* node) { |
81 return !IsAnExtraNode(node); | 83 return !IsAnExtraNode(node); |
82 } | 84 } |
83 | 85 |
84 // static | 86 // static |
85 BookmarkPermanentNodeList TestBookmarkClient::LoadExtraNodes( | 87 BookmarkPermanentNodeList TestBookmarkClient::LoadExtraNodes( |
86 BookmarkPermanentNodeList extra_nodes, | 88 BookmarkPermanentNodeList extra_nodes, |
87 int64* next_id) { | 89 int64_t* next_id) { |
88 return extra_nodes.Pass(); | 90 return extra_nodes.Pass(); |
89 } | 91 } |
90 | 92 |
91 } // namespace bookmarks | 93 } // namespace bookmarks |
OLD | NEW |