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: chromeos/dbus/fake_debug_daemon_client.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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
« no previous file with comments | « chromeos/dbus/fake_cros_disks_client.cc ('k') | chromeos/dbus/fake_gsm_sms_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chromeos/dbus/fake_debug_daemon_client.h" 5 #include "chromeos/dbus/fake_debug_daemon_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <string> 11 #include <string>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "chromeos/chromeos_switches.h" 19 #include "chromeos/chromeos_switches.h"
20 #include "dbus/file_descriptor.h" 20 #include "dbus/file_descriptor.h"
21 21
22 namespace { 22 namespace {
23 23
24 const char kCrOSTracingAgentName[] = "cros"; 24 const char kCrOSTracingAgentName[] = "cros";
25 const char kCrOSTraceLabel[] = "systemTraceEvents"; 25 const char kCrOSTraceLabel[] = "systemTraceEvents";
26 26
27 } // namespace 27 } // namespace
28 28
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 if (!is_available) 208 if (!is_available)
209 return; 209 return;
210 210
211 std::vector<WaitForServiceToBeAvailableCallback> callbacks; 211 std::vector<WaitForServiceToBeAvailableCallback> callbacks;
212 callbacks.swap(pending_wait_for_service_to_be_available_callbacks_); 212 callbacks.swap(pending_wait_for_service_to_be_available_callbacks_);
213 for (size_t i = 0; i < callbacks.size(); ++i) 213 for (size_t i = 0; i < callbacks.size(); ++i)
214 callbacks[i].Run(is_available); 214 callbacks[i].Run(is_available);
215 } 215 }
216 216
217 } // namespace chromeos 217 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_cros_disks_client.cc ('k') | chromeos/dbus/fake_gsm_sms_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698