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

Side by Side Diff: device/bluetooth/bluetooth_profile_experimental_chromeos.cc

Issue 16123026: Use a direct include of strings headers in crypto/, dbus/, device/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "device/bluetooth/bluetooth_profile_experimental_chromeos.h" 5 #include "device/bluetooth/bluetooth_profile_experimental_chromeos.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop.h"
16 #include "base/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/task_runner_util.h" 17 #include "base/task_runner_util.h"
18 #include "base/threading/thread_restrictions.h" 18 #include "base/threading/thread_restrictions.h"
19 #include "base/threading/worker_pool.h" 19 #include "base/threading/worker_pool.h"
20 #include "chromeos/dbus/dbus_thread_manager.h" 20 #include "chromeos/dbus/dbus_thread_manager.h"
21 #include "chromeos/dbus/experimental_bluetooth_profile_manager_client.h" 21 #include "chromeos/dbus/experimental_bluetooth_profile_manager_client.h"
22 #include "chromeos/dbus/experimental_bluetooth_profile_service_provider.h" 22 #include "chromeos/dbus/experimental_bluetooth_profile_service_provider.h"
23 #include "dbus/bus.h" 23 #include "dbus/bus.h"
24 #include "dbus/file_descriptor.h" 24 #include "dbus/file_descriptor.h"
25 #include "dbus/object_path.h" 25 #include "dbus/object_path.h"
26 #include "device/bluetooth/bluetooth_adapter_experimental_chromeos.h" 26 #include "device/bluetooth/bluetooth_adapter_experimental_chromeos.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 static_cast<BluetoothAdapterExperimentalChromeOS*>(adapter.get())-> 250 static_cast<BluetoothAdapterExperimentalChromeOS*>(adapter.get())->
251 GetDeviceWithPath(device_path); 251 GetDeviceWithPath(device_path);
252 DCHECK(device); 252 DCHECK(device);
253 253
254 scoped_refptr<BluetoothSocket> socket(( 254 scoped_refptr<BluetoothSocket> socket((
255 BluetoothSocketExperimentalChromeOS::Create(fd.get()))); 255 BluetoothSocketExperimentalChromeOS::Create(fd.get())));
256 connection_callback_.Run(device, socket); 256 connection_callback_.Run(device, socket);
257 } 257 }
258 258
259 } // namespace chromeos 259 } // namespace chromeos
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_win_unittest.cc ('k') | device/bluetooth/bluetooth_profile_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698