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

Side by Side Diff: chrome/test/base/testing_profile.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/test/base/testing_profile.h" 5 #include "chrome/test/base/testing_profile.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/path_service.h" 16 #include "base/path_service.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
17 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
18 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
19 #include "base/threading/thread_restrictions.h" 20 #include "base/threading/thread_restrictions.h"
20 #include "base/threading/thread_task_runner_handle.h" 21 #include "base/threading/thread_task_runner_handle.h"
21 #include "build/build_config.h" 22 #include "build/build_config.h"
22 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" 23 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
23 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 24 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
24 #include "chrome/browser/bookmarks/chrome_bookmark_client.h" 25 #include "chrome/browser/bookmarks/chrome_bookmark_client.h"
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 // Note: Owned by |original_profile|. 1100 // Note: Owned by |original_profile|.
1100 return new TestingProfile(path_, delegate_, 1101 return new TestingProfile(path_, delegate_,
1101 #if BUILDFLAG(ENABLE_EXTENSIONS) 1102 #if BUILDFLAG(ENABLE_EXTENSIONS)
1102 extension_policy_, 1103 extension_policy_,
1103 #endif 1104 #endif
1104 std::move(pref_service_), original_profile, 1105 std::move(pref_service_), original_profile,
1105 guest_session_, supervised_user_id_, 1106 guest_session_, supervised_user_id_,
1106 std::move(policy_service_), testing_factories_, 1107 std::move(policy_service_), testing_factories_,
1107 profile_name_); 1108 profile_name_);
1108 } 1109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698