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 <string> | 5 #include <string> |
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 "chrome/browser/component_updater/test/test_configurator.h" | |
10 #include "components/component_updater/component_patcher_operation.h" | 9 #include "components/component_updater/component_patcher_operation.h" |
| 10 #include "components/component_updater/test/test_configurator.h" |
11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 using content::BrowserThread; | 14 using content::BrowserThread; |
15 | 15 |
16 namespace component_updater { | 16 namespace component_updater { |
17 | 17 |
18 TestConfigurator::TestConfigurator() | 18 TestConfigurator::TestConfigurator() |
19 : initial_time_(0), | 19 : initial_time_(0), |
20 times_(1), | 20 times_(1), |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); | 139 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); |
140 } | 140 } |
141 | 141 |
142 scoped_refptr<base::SingleThreadTaskRunner> | 142 scoped_refptr<base::SingleThreadTaskRunner> |
143 TestConfigurator::GetSingleThreadTaskRunner() const { | 143 TestConfigurator::GetSingleThreadTaskRunner() const { |
144 return content::BrowserThread::GetMessageLoopProxyForThread( | 144 return content::BrowserThread::GetMessageLoopProxyForThread( |
145 content::BrowserThread::FILE); | 145 content::BrowserThread::FILE); |
146 } | 146 } |
147 | 147 |
148 } // namespace component_updater | 148 } // namespace component_updater |
OLD | NEW |