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/update_client/test_configurator.h" | 5 #include "components/update_client/test_configurator.h" |
6 | 6 |
7 #include "base/sequenced_task_runner.h" | 7 #include "base/sequenced_task_runner.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/version.h" | 9 #include "base/version.h" |
10 #include "components/prefs/pref_service.h" | 10 #include "components/prefs/pref_service.h" |
11 #include "components/update_client/component_patcher_operation.h" | 11 #include "components/update_client/out_of_process_patcher.h" |
12 #include "net/url_request/url_request_test_util.h" | 12 #include "net/url_request/url_request_test_util.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace update_client { | 15 namespace update_client { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 std::vector<GURL> MakeDefaultUrls() { | 19 std::vector<GURL> MakeDefaultUrls() { |
20 std::vector<GURL> urls; | 20 std::vector<GURL> urls; |
21 urls.push_back(GURL(POST_INTERCEPT_SCHEME | 21 urls.push_back(GURL(POST_INTERCEPT_SCHEME |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 PrefService* TestConfigurator::GetPrefService() const { | 170 PrefService* TestConfigurator::GetPrefService() const { |
171 return nullptr; | 171 return nullptr; |
172 } | 172 } |
173 | 173 |
174 bool TestConfigurator::IsPerUserInstall() const { | 174 bool TestConfigurator::IsPerUserInstall() const { |
175 return true; | 175 return true; |
176 } | 176 } |
177 | 177 |
178 } // namespace update_client | 178 } // namespace update_client |
OLD | NEW |