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

Unified Diff: chromeos/dbus/fake_bluetooth_gatt_characteristic_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_characteristic_service_provider.cc
diff --git a/chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc b/chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc
index d77dc71118e61e3f28e8fe4eb515de35b9112856..5a548debf02fb73a86314ace9f86bd0b86275240 100644
--- a/chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc
+++ b/chromeos/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc
@@ -29,8 +29,9 @@ FakeBluetoothGattCharacteristicServiceProvider::
DCHECK(service_path_.IsValid());
DCHECK(!uuid.empty());
DCHECK(delegate_);
- DCHECK(base::StartsWithASCII(object_path_.value(),
- service_path_.value() + "/", true));
+ DCHECK(base::StartsWith(object_path_.value(),
+ service_path_.value() + "/",
+ base::CompareCase::SENSITIVE));
// TODO(armansito): Do something with |flags| and |permissions|.

Powered by Google App Engine
This is Rietveld 408576698