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

Unified Diff: chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc
diff --git a/chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc b/chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc
index bb4c55e28791d7dc3055bbe3c33439b9e4777018..9779c3aee0eae1d0d236809bf81d0888de3f43ec 100644
--- a/chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc
+++ b/chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc
@@ -29,8 +29,9 @@ FakeBluetoothGattDescriptorServiceProvider::
DCHECK(characteristic_path_.IsValid());
DCHECK(!uuid.empty());
DCHECK(delegate_);
- DCHECK(base::StartsWithASCII(object_path_.value(),
- characteristic_path_.value() + "/", true));
+ DCHECK(base::StartsWith(object_path_.value(),
+ characteristic_path_.value() + "/",
+ base::CompareCase::SENSITIVE));
// TODO(armansito): Do something with |permissions|.
« no previous file with comments | « chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc ('k') | chromeos/dbus/fake_shill_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698