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

Unified Diff: chrome/browser/net/firefox_proxy_settings.cc

Issue 1493503002: base: get rid of deprecated TrimWhitespace() function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years 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/net/firefox_proxy_settings.cc
diff --git a/chrome/browser/net/firefox_proxy_settings.cc b/chrome/browser/net/firefox_proxy_settings.cc
index 203d9557f6cef98390ece7109b53116113da26eb..16b3618510c51922c9f3682ef4b1a9302b6abbb4 100644
--- a/chrome/browser/net/firefox_proxy_settings.cc
+++ b/chrome/browser/net/firefox_proxy_settings.cc
@@ -102,7 +102,7 @@ bool ParsePrefFile(const base::FilePath& pref_file,
}
std::string value = line.substr(start_value + 1,
stop_value - start_value - 1);
- base::TrimWhitespace(value, base::TRIM_ALL, &value);
+ base::TrimWhitespaceASCII(value, base::TRIM_ALL, &value);
// Value could be a boolean.
bool is_value_true = base::LowerCaseEqualsASCII(value, "true");
if (is_value_true || base::LowerCaseEqualsASCII(value, "false")) {
« no previous file with comments | « chrome/browser/google/google_brand_chromeos.cc ('k') | chrome/browser/ui/search_engines/edit_search_engine_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698