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

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

Issue 16614002: Use a direct include of utf_string_conversions.h in chrome_frame/, chromeos/, cloud_print/, compone… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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) 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_device.h" 5 #include "device/bluetooth/bluetooth_device.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "device/bluetooth/bluetooth_utils.h" 10 #include "device/bluetooth/bluetooth_utils.h"
11 #include "grit/device_bluetooth_strings.h" 11 #include "grit/device_bluetooth_strings.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 13
14 namespace device { 14 namespace device {
15 15
16 // static 16 // static
17 bool BluetoothDevice::IsUUIDValid(const std::string& uuid) { 17 bool BluetoothDevice::IsUUIDValid(const std::string& uuid) {
18 return !bluetooth_utils::CanonicalUuid(uuid).empty(); 18 return !bluetooth_utils::CanonicalUuid(uuid).empty();
19 } 19 }
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 for (BluetoothDevice::ServiceList::const_iterator iter = services.begin(); 181 for (BluetoothDevice::ServiceList::const_iterator iter = services.begin();
182 iter != services.end(); 182 iter != services.end();
183 ++iter) { 183 ++iter) {
184 if (bluetooth_utils::CanonicalUuid(*iter) == canonical_uuid) 184 if (bluetooth_utils::CanonicalUuid(*iter) == canonical_uuid)
185 return true; 185 return true;
186 } 186 }
187 return false; 187 return false;
188 } 188 }
189 189
190 } // namespace device 190 } // namespace device
OLDNEW
« no previous file with comments | « courgette/encoded_program.cc ('k') | device/bluetooth/bluetooth_experimental_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698