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/component_updater/test/test_configurator.cc

Issue 493953002: Componentize component_updater: Move a bunch of tests to component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
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 <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
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
OLDNEW
« no previous file with comments | « components/component_updater/test/test_configurator.h ('k') | components/component_updater/test/test_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698