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

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

Issue 224893002: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_profile_win.h ('k') | device/bluetooth/bluetooth_service_record.h » ('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 "device/bluetooth/bluetooth_profile_win.h" 5 #include "device/bluetooth/bluetooth_profile_win.h"
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "device/bluetooth/bluetooth_device_win.h" 8 #include "device/bluetooth/bluetooth_device_win.h"
9 #include "device/bluetooth/bluetooth_service_record.h" 9 #include "device/bluetooth/bluetooth_service_record.h"
10 #include "device/bluetooth/bluetooth_socket_win.h" 10 #include "device/bluetooth/bluetooth_socket_win.h"
11 11
12 namespace device { 12 namespace device {
13 13
14 BluetoothProfileWin::BluetoothProfileWin(const std::string& uuid, 14 BluetoothProfileWin::BluetoothProfileWin(const BluetoothUUID& uuid,
15 const std::string& name) 15 const std::string& name)
16 : BluetoothProfile(), uuid_(uuid), name_(name) { 16 : BluetoothProfile(), uuid_(uuid), name_(name) {
17 } 17 }
18 18
19 BluetoothProfileWin::~BluetoothProfileWin() { 19 BluetoothProfileWin::~BluetoothProfileWin() {
20 } 20 }
21 21
22 void BluetoothProfileWin::Unregister() { 22 void BluetoothProfileWin::Unregister() {
23 delete this; 23 delete this;
24 } 24 }
(...skipping 13 matching lines...) Expand all
38 BluetoothSocketWin::CreateBluetoothSocket(*record)); 38 BluetoothSocketWin::CreateBluetoothSocket(*record));
39 if (socket.get() != NULL) { 39 if (socket.get() != NULL) {
40 connection_callback_.Run(device, socket); 40 connection_callback_.Run(device, socket);
41 return true; 41 return true;
42 } 42 }
43 } 43 }
44 return false; 44 return false;
45 } 45 }
46 46
47 } // namespace device 47 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_profile_win.h ('k') | device/bluetooth/bluetooth_service_record.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698