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

Unified Diff: chrome/browser/chromeos/power/peripheral_battery_observer.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/power/peripheral_battery_observer.cc
diff --git a/chrome/browser/chromeos/power/peripheral_battery_observer.cc b/chrome/browser/chromeos/power/peripheral_battery_observer.cc
index fc17ebf2291755d259931490a8978a6b53ff5cae..8549cc00dbb41a82a7bab5169cc410ec99c9b167 100644
--- a/chrome/browser/chromeos/power/peripheral_battery_observer.cc
+++ b/chrome/browser/chromeos/power/peripheral_battery_observer.cc
@@ -50,7 +50,7 @@ const char kHIDBatteryPathSuffix[] = "-battery";
bool IsBluetoothHIDBattery(const std::string& path) {
return base::StartsWithASCII(path, kHIDBatteryPathPrefix, false) &&
- EndsWith(path, kHIDBatteryPathSuffix, false);
+ base::EndsWith(path, kHIDBatteryPathSuffix, false);
}
std::string ExtractBluetoothAddress(const std::string& path) {

Powered by Google App Engine
This is Rietveld 408576698