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

Side by Side Diff: components/component_updater/component_updater_service.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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/component_updater/component_updater_service.h" 5 #include "components/component_updater/component_updater_service.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/memory/ptr_util.h" 20 #include "base/memory/ptr_util.h"
21 #include "base/metrics/histogram_macros.h" 21 #include "base/metrics/histogram_macros.h"
22 #include "base/sequenced_task_runner.h" 22 #include "base/sequenced_task_runner.h"
23 #include "base/single_thread_task_runner.h" 23 #include "base/single_thread_task_runner.h"
24 #include "base/thread_task_runner_handle.h"
25 #include "base/threading/sequenced_worker_pool.h" 24 #include "base/threading/sequenced_worker_pool.h"
26 #include "base/threading/thread_checker.h" 25 #include "base/threading/thread_checker.h"
26 #include "base/threading/thread_task_runner_handle.h"
27 #include "base/time/time.h" 27 #include "base/time/time.h"
28 #include "base/timer/timer.h" 28 #include "base/timer/timer.h"
29 #include "components/component_updater/component_updater_service_internal.h" 29 #include "components/component_updater/component_updater_service_internal.h"
30 #include "components/component_updater/timer.h" 30 #include "components/component_updater/timer.h"
31 #include "components/update_client/configurator.h" 31 #include "components/update_client/configurator.h"
32 #include "components/update_client/crx_update_item.h" 32 #include "components/update_client/crx_update_item.h"
33 #include "components/update_client/update_client.h" 33 #include "components/update_client/update_client.h"
34 #include "components/update_client/utils.h" 34 #include "components/update_client/utils.h"
35 #include "url/gurl.h" 35 #include "url/gurl.h"
36 36
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // TODO(sorin): consider making this a singleton. 391 // TODO(sorin): consider making this a singleton.
392 std::unique_ptr<ComponentUpdateService> ComponentUpdateServiceFactory( 392 std::unique_ptr<ComponentUpdateService> ComponentUpdateServiceFactory(
393 const scoped_refptr<Configurator>& config) { 393 const scoped_refptr<Configurator>& config) {
394 DCHECK(config); 394 DCHECK(config);
395 auto update_client = update_client::UpdateClientFactory(config); 395 auto update_client = update_client::UpdateClientFactory(config);
396 return base::WrapUnique( 396 return base::WrapUnique(
397 new CrxUpdateService(config, std::move(update_client))); 397 new CrxUpdateService(config, std::move(update_client)));
398 } 398 }
399 399
400 } // namespace component_updater 400 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698