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/bookmark_test_helpers.h" | 5 #include "components/bookmarks/test/bookmark_test_helpers.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/callback.h" | 9 #include "base/callback.h" |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
12 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 14 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
13 #include "components/bookmarks/browser/bookmark_model.h" | 15 #include "components/bookmarks/browser/bookmark_model.h" |
14 #include "url/gurl.h" | 16 #include "url/gurl.h" |
15 | 17 |
16 namespace bookmarks { | 18 namespace bookmarks { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 const std::string& model_string) { | 132 const std::string& model_string) { |
131 DCHECK(node); | 133 DCHECK(node); |
132 std::string::size_type start_pos = 0; | 134 std::string::size_type start_pos = 0; |
133 std::string::size_type end_pos = | 135 std::string::size_type end_pos = |
134 AddNodesFromString(model, node, model_string, start_pos); | 136 AddNodesFromString(model, node, model_string, start_pos); |
135 DCHECK(end_pos == std::string::npos); | 137 DCHECK(end_pos == std::string::npos); |
136 } | 138 } |
137 | 139 |
138 } // namespace test | 140 } // namespace test |
139 } // namespace bookmarks | 141 } // namespace bookmarks |
OLD | NEW |