OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |