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

Side by Side Diff: chromeos/dbus/fake_debug_daemon_client.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 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 <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector>
10 9
11 #include "base/bind.h" 10 #include "base/bind.h"
12 #include "base/callback.h" 11 #include "base/callback.h"
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/location.h" 13 #include "base/location.h"
15 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
16 #include "chromeos/chromeos_switches.h" 15 #include "chromeos/chromeos_switches.h"
17 16
18 namespace chromeos { 17 namespace chromeos {
19 18
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 if (!is_available) 169 if (!is_available)
171 return; 170 return;
172 171
173 std::vector<WaitForServiceToBeAvailableCallback> callbacks; 172 std::vector<WaitForServiceToBeAvailableCallback> callbacks;
174 callbacks.swap(pending_wait_for_service_to_be_available_callbacks_); 173 callbacks.swap(pending_wait_for_service_to_be_available_callbacks_);
175 for (size_t i = 0; i < callbacks.size(); ++i) 174 for (size_t i = 0; i < callbacks.size(); ++i)
176 callbacks[i].Run(is_available); 175 callbacks[i].Run(is_available);
177 } 176 }
178 177
179 } // namespace chromeos 178 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_profile_service_provider.cc ('k') | chromeos/dbus/fake_nfc_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698