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

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

Issue 1861383004: Add module for counting date-last-roll-call and persisting those counts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ASAN Created 4 years, 8 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/version.h" 7 #include "base/version.h"
8 #include "components/prefs/pref_service.h"
8 #include "components/update_client/component_patcher_operation.h" 9 #include "components/update_client/component_patcher_operation.h"
9 #include "url/gurl.h" 10 #include "url/gurl.h"
10 11
11 namespace update_client { 12 namespace update_client {
12 13
13 namespace { 14 namespace {
14 15
15 std::vector<GURL> MakeDefaultUrls() { 16 std::vector<GURL> MakeDefaultUrls() {
16 std::vector<GURL> urls; 17 std::vector<GURL> urls;
17 urls.push_back(GURL(POST_INTERCEPT_SCHEME 18 urls.push_back(GURL(POST_INTERCEPT_SCHEME
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void TestConfigurator::SetPingUrl(const GURL& url) { 147 void TestConfigurator::SetPingUrl(const GURL& url) {
147 ping_url_ = url; 148 ping_url_ = url;
148 } 149 }
149 150
150 scoped_refptr<base::SequencedTaskRunner> 151 scoped_refptr<base::SequencedTaskRunner>
151 TestConfigurator::GetSequencedTaskRunner() const { 152 TestConfigurator::GetSequencedTaskRunner() const {
152 DCHECK(worker_task_runner_.get()); 153 DCHECK(worker_task_runner_.get());
153 return worker_task_runner_; 154 return worker_task_runner_;
154 } 155 }
155 156
157 PrefService* TestConfigurator::GetPrefService() const {
158 return NULL;
Bernhard Bauer 2016/04/08 09:06:10 nullptr 😃
waffles 2016/04/08 19:11:01 Done.
159 }
160
156 } // namespace update_client 161 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698