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

Unified Diff: google_apis/gaia/oauth2_mint_token_flow.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « extensions/common/feature_switch.cc ('k') | net/base/host_mapping_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/oauth2_mint_token_flow.cc
diff --git a/google_apis/gaia/oauth2_mint_token_flow.cc b/google_apis/gaia/oauth2_mint_token_flow.cc
index 437574d77cc139f0cfc3c0ad10a3804220b0b680..2318b50576fb2768ed46f1cc90a7ca8f6bcf265d 100644
--- a/google_apis/gaia/oauth2_mint_token_flow.cc
+++ b/google_apis/gaia/oauth2_mint_token_flow.cc
@@ -266,12 +266,12 @@ bool OAuth2MintTokenFlow::ParseIssueAdviceResponse(
break;
}
- TrimWhitespace(entry.description, TRIM_ALL, &entry.description);
+ base::TrimWhitespace(entry.description, base::TRIM_ALL, &entry.description);
static const base::string16 detail_separators =
base::ASCIIToUTF16(kDetailSeparators);
Tokenize(detail, detail_separators, &entry.details);
for (size_t i = 0; i < entry.details.size(); i++)
- TrimWhitespace(entry.details[i], TRIM_ALL, &entry.details[i]);
+ base::TrimWhitespace(entry.details[i], base::TRIM_ALL, &entry.details[i]);
issue_advice->push_back(entry);
}
« no previous file with comments | « extensions/common/feature_switch.cc ('k') | net/base/host_mapping_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698