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

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: 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/update_client/component_patcher_operation.h" 8 #include "components/update_client/component_patcher_operation.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void TestConfigurator::SetPingUrl(const GURL& url) { 146 void TestConfigurator::SetPingUrl(const GURL& url) {
147 ping_url_ = url; 147 ping_url_ = url;
148 } 148 }
149 149
150 scoped_refptr<base::SequencedTaskRunner> 150 scoped_refptr<base::SequencedTaskRunner>
151 TestConfigurator::GetSequencedTaskRunner() const { 151 TestConfigurator::GetSequencedTaskRunner() const {
152 DCHECK(worker_task_runner_.get()); 152 DCHECK(worker_task_runner_.get());
153 return worker_task_runner_; 153 return worker_task_runner_;
154 } 154 }
155 155
156 base::FilePath TestConfigurator::GetMetadataPath() const {
157 // Returning an empty path will result in an in-memory cache only.
158 return base::FilePath();
159 }
160
156 } // namespace update_client 161 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698