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

Side by Side Diff: components/update_client/action_wait.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/action_wait.h" 5 #include "components/update_client/action_wait.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "components/update_client/update_engine.h" 12 #include "components/update_client/update_engine.h"
13 13
14 namespace update_client { 14 namespace update_client {
15 15
16 ActionWait::ActionWait(const base::TimeDelta& time_delta) 16 ActionWait::ActionWait(const base::TimeDelta& time_delta)
17 : time_delta_(time_delta) { 17 : time_delta_(time_delta) {
18 } 18 }
19 19
20 ActionWait::~ActionWait() { 20 ActionWait::~ActionWait() {
21 DCHECK(thread_checker_.CalledOnValidThread()); 21 DCHECK(thread_checker_.CalledOnValidThread());
(...skipping 30 matching lines...) Expand all
52 NotifyObservers(UpdateClient::Observer::Events::COMPONENT_WAIT, 52 NotifyObservers(UpdateClient::Observer::Events::COMPONENT_WAIT,
53 update_context_->queue.front()); 53 update_context_->queue.front());
54 } 54 }
55 55
56 void ActionWait::WaitComplete() { 56 void ActionWait::WaitComplete() {
57 DCHECK(thread_checker_.CalledOnValidThread()); 57 DCHECK(thread_checker_.CalledOnValidThread());
58 UpdateCrx(); 58 UpdateCrx();
59 } 59 }
60 60
61 } // namespace update_client 61 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/action_update_check.cc ('k') | components/update_client/crx_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698