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

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

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/component_updater/test/test_configurator.h" 5 #include "components/update_client/test/test_configurator.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/version.h" 8 #include "base/version.h"
9 #include "components/component_updater/component_patcher_operation.h" 9 #include "components/update_client/component_patcher_operation.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace component_updater { 12 namespace update_client {
13 13
14 namespace { 14 namespace {
15 15
16 std::vector<GURL> MakeDefaultUrls() { 16 std::vector<GURL> MakeDefaultUrls() {
17 std::vector<GURL> urls; 17 std::vector<GURL> urls;
18 urls.push_back(GURL(POST_INTERCEPT_SCHEME 18 urls.push_back(GURL(POST_INTERCEPT_SCHEME
19 "://" POST_INTERCEPT_HOSTNAME POST_INTERCEPT_PATH)); 19 "://" POST_INTERCEPT_HOSTNAME POST_INTERCEPT_PATH));
20 return urls; 20 return urls;
21 } 21 }
22 22
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 DCHECK(worker_task_runner_.get()); 144 DCHECK(worker_task_runner_.get());
145 return worker_task_runner_; 145 return worker_task_runner_;
146 } 146 }
147 147
148 scoped_refptr<base::SingleThreadTaskRunner> 148 scoped_refptr<base::SingleThreadTaskRunner>
149 TestConfigurator::GetSingleThreadTaskRunner() const { 149 TestConfigurator::GetSingleThreadTaskRunner() const {
150 // This is NULL because tests do not use the background downloader. 150 // This is NULL because tests do not use the background downloader.
151 return NULL; 151 return NULL;
152 } 152 }
153 153
154 } // namespace component_updater 154 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698