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

Side by Side Diff: components/update_client/test_configurator.cc

Issue 2873513002: Fix dependencies on OutOfProcessPatcher. (Closed)
Patch Set: base namespace fix 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/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
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
OLDNEW
« no previous file with comments | « components/update_client/out_of_process_patcher.h ('k') | components/update_client/update_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698