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

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

Issue 220323004: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on top of recent change by tengs@. 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
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_service_record_win.h" 5 #include "device/bluetooth/bluetooth_service_record_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 ExtractChannels(protocol_descriptor_list_data, 136 ExtractChannels(protocol_descriptor_list_data,
137 &supports_rfcomm_, 137 &supports_rfcomm_,
138 &rfcomm_channel_); 138 &rfcomm_channel_);
139 } 139 }
140 SDP_ELEMENT_DATA uuid_data; 140 SDP_ELEMENT_DATA uuid_data;
141 if (ERROR_SUCCESS == BluetoothSdpGetAttributeValue( 141 if (ERROR_SUCCESS == BluetoothSdpGetAttributeValue(
142 blob_data, 142 blob_data,
143 blob_size, 143 blob_size,
144 kUuidId, 144 kUuidId,
145 &uuid_data)) { 145 &uuid_data)) {
146 ExtractUuid(uuid_data, &uuid_); 146 std::string uuid_str;
147 ExtractUuid(uuid_data, &uuid_str);
148 uuid_ = BluetoothUUID(uuid_str);
147 } 149 }
148 } 150 }
149 151
150 } // namespace device 152 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698