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/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 Loading... |
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 |
OLD | NEW |