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

Side by Side Diff: components/update_client/action.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.h" 5 #include "components/update_client/action.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "components/update_client/action_update.h" 15 #include "components/update_client/action_update.h"
16 #include "components/update_client/action_wait.h" 16 #include "components/update_client/action_wait.h"
17 #include "components/update_client/configurator.h" 17 #include "components/update_client/configurator.h"
18 #include "components/update_client/update_engine.h" 18 #include "components/update_client/update_engine.h"
19 #include "components/update_client/utils.h" 19 #include "components/update_client/utils.h"
20 20
21 namespace update_client { 21 namespace update_client {
22 22
23 using Events = UpdateClient::Observer::Events; 23 using Events = UpdateClient::Observer::Events;
24 24
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 160
161 void ActionImpl::UpdateComplete(int error) { 161 void ActionImpl::UpdateComplete(int error) {
162 DCHECK(thread_checker_.CalledOnValidThread()); 162 DCHECK(thread_checker_.CalledOnValidThread());
163 163
164 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, 164 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
165 base::Bind(callback_, error)); 165 base::Bind(callback_, error));
166 } 166 }
167 167
168 } // namespace update_client 168 } // namespace update_client
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_script.cc ('k') | components/update_client/action_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698