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

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

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 b7ebea0b5318b3096fc87d6f692c35c58ae20894..40a650b42588b99cf14f744c024d1ed733963c55 100644
--- a/chrome/browser/chromeos/power/peripheral_battery_observer.cc
+++ b/chrome/browser/chromeos/power/peripheral_battery_observer.cc
@@ -59,7 +59,7 @@ std::string ExtractBluetoothAddress(const std::string& path) {
if (key_len <= 0)
return std::string();
std::string reverse_address = path.substr(header_size, key_len);
- StringToLowerASCII(&reverse_address);
+ base::StringToLowerASCII(&reverse_address);
std::vector<std::string> result;
base::SplitString(reverse_address, ':', &result);
std::reverse(result.begin(), result.end());
@@ -187,7 +187,7 @@ void PeripheralBatteryObserver::InitializeOnBluetoothReady(
void PeripheralBatteryObserver::RemoveBattery(const std::string& address) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
std::string address_lowercase = address;
- StringToLowerASCII(&address_lowercase);
+ base::StringToLowerASCII(&address_lowercase);
std::map<std::string, BatteryInfo>::iterator it =
batteries_.find(address_lowercase);
if (it != batteries_.end()) {

Powered by Google App Engine
This is Rietveld 408576698