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

Side by Side Diff: device/bluetooth/bluetooth_task_manager_win.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
« no previous file with comments | « device/bluetooth/bluetooth_socket_mac.mm ('k') | device/bluetooth/bluetooth_utils.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_task_manager_win.h" 5 #include "device/bluetooth/bluetooth_task_manager_win.h"
6 6
7 #include <winsock2.h> 7 #include <winsock2.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop.h"
16 #include "base/sequenced_task_runner.h" 16 #include "base/sequenced_task_runner.h"
17 #include "base/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/sys_string_conversions.h" 18 #include "base/strings/sys_string_conversions.h"
19 #include "base/threading/sequenced_worker_pool.h" 19 #include "base/threading/sequenced_worker_pool.h"
20 #include "base/win/scoped_handle.h" 20 #include "base/win/scoped_handle.h"
21 #include "device/bluetooth/bluetooth_init_win.h" 21 #include "device/bluetooth/bluetooth_init_win.h"
22 #include "device/bluetooth/bluetooth_service_record_win.h" 22 #include "device/bluetooth/bluetooth_service_record_win.h"
23 #include "net/base/winsock_init.h" 23 #include "net/base/winsock_init.h"
24 24
25 namespace { 25 namespace {
26 26
27 const int kNumThreadsInWorkerPool = 3; 27 const int kNumThreadsInWorkerPool = 3;
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 service_record_state->sdp_bytes.push_back( 405 service_record_state->sdp_bytes.push_back(
406 sdp_result_data->lpBlob->pBlobData[i]); 406 sdp_result_data->lpBlob->pBlobData[i]);
407 } 407 }
408 service_record_states->push_back(service_record_state); 408 service_record_states->push_back(service_record_state);
409 } 409 }
410 WSALookupServiceEnd(sdp_handle); 410 WSALookupServiceEnd(sdp_handle);
411 } 411 }
412 } 412 }
413 413
414 } // namespace device 414 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_socket_mac.mm ('k') | device/bluetooth/bluetooth_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698