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

Side by Side Diff: chrome/test/base/testing_profile.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 #if BUILDFLAG(ENABLE_SUPERVISED_USERS) 122 #if BUILDFLAG(ENABLE_SUPERVISED_USERS)
123 #include "chrome/browser/supervised_user/supervised_user_constants.h" 123 #include "chrome/browser/supervised_user/supervised_user_constants.h"
124 #include "chrome/browser/supervised_user/supervised_user_pref_store.h" 124 #include "chrome/browser/supervised_user/supervised_user_pref_store.h"
125 #include "chrome/browser/supervised_user/supervised_user_settings_service.h" 125 #include "chrome/browser/supervised_user/supervised_user_settings_service.h"
126 #include "chrome/browser/supervised_user/supervised_user_settings_service_factor y.h" 126 #include "chrome/browser/supervised_user/supervised_user_settings_service_factor y.h"
127 #endif 127 #endif
128 128
129 #if BUILDFLAG(ANDROID_JAVA_UI) 129 #if BUILDFLAG(ANDROID_JAVA_UI)
130 #include "chrome/browser/android/offline_pages/offline_page_model_factory.h" 130 #include "chrome/browser/android/offline_pages/offline_page_model_factory.h"
131 #include "components/offline_pages/stub_offline_page_model.h" 131 #include "components/offline_pages/core/stub_offline_page_model.h"
132 #endif 132 #endif
133 133
134 using base::Time; 134 using base::Time;
135 using bookmarks::BookmarkModel; 135 using bookmarks::BookmarkModel;
136 using content::BrowserThread; 136 using content::BrowserThread;
137 using content::DownloadManagerDelegate; 137 using content::DownloadManagerDelegate;
138 using testing::NiceMock; 138 using testing::NiceMock;
139 using testing::Return; 139 using testing::Return;
140 140
141 namespace { 141 namespace {
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 // Note: Owned by |original_profile|. 1091 // Note: Owned by |original_profile|.
1092 return new TestingProfile(path_, delegate_, 1092 return new TestingProfile(path_, delegate_,
1093 #if BUILDFLAG(ENABLE_EXTENSIONS) 1093 #if BUILDFLAG(ENABLE_EXTENSIONS)
1094 extension_policy_, 1094 extension_policy_,
1095 #endif 1095 #endif
1096 std::move(pref_service_), original_profile, 1096 std::move(pref_service_), original_profile,
1097 guest_session_, supervised_user_id_, 1097 guest_session_, supervised_user_id_,
1098 std::move(policy_service_), testing_factories_, 1098 std::move(policy_service_), testing_factories_,
1099 profile_name_); 1099 profile_name_);
1100 } 1100 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698