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

Side by Side Diff: components/bookmarks/test/bookmark_test_helpers.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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> 7 #include <stddef.h>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "components/bookmarks/browser/base_bookmark_model_observer.h" 15 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
15 #include "components/bookmarks/browser/bookmark_model.h" 16 #include "components/bookmarks/browser/bookmark_model.h"
16 #include "url/gurl.h" 17 #include "url/gurl.h"
17 18
18 namespace bookmarks { 19 namespace bookmarks {
19 namespace test { 20 namespace test {
20 21
21 namespace { 22 namespace {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const std::string& model_string) { 133 const std::string& model_string) {
133 DCHECK(node); 134 DCHECK(node);
134 std::string::size_type start_pos = 0; 135 std::string::size_type start_pos = 0;
135 std::string::size_type end_pos = 136 std::string::size_type end_pos =
136 AddNodesFromString(model, node, model_string, start_pos); 137 AddNodesFromString(model, node, model_string, start_pos);
137 DCHECK(end_pos == std::string::npos); 138 DCHECK(end_pos == std::string::npos);
138 } 139 }
139 140
140 } // namespace test 141 } // namespace test
141 } // namespace bookmarks 142 } // namespace bookmarks
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698