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

Unified Diff: google_apis/gaia/oauth2_mint_token_flow.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « google_apis/gaia/oauth2_mint_token_flow.h ('k') | sql/statement.h » ('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 b3641ebf8c4aa91468643419c467174fd47bc5e1..a1e3ff3cfeb20defa3246a079b76f2c32d9637ab 100644
--- a/google_apis/gaia/oauth2_mint_token_flow.cc
+++ b/google_apis/gaia/oauth2_mint_token_flow.cc
@@ -258,7 +258,7 @@ bool OAuth2MintTokenFlow::ParseIssueAdviceResponse(
for (size_t index = 0; index < scopes_list->GetSize(); ++index) {
const base::DictionaryValue* scopes_entry = NULL;
IssueAdviceInfoEntry entry;
- string16 detail;
+ base::string16 detail;
if (!scopes_list->GetDictionary(index, &scopes_entry) ||
!scopes_entry->GetString(kDescriptionKey, &entry.description) ||
!scopes_entry->GetString(kDetailKey, &detail)) {
@@ -267,7 +267,8 @@ bool OAuth2MintTokenFlow::ParseIssueAdviceResponse(
}
TrimWhitespace(entry.description, TRIM_ALL, &entry.description);
- static const string16 detail_separators = ASCIIToUTF16(kDetailSeparators);
+ static const base::string16 detail_separators =
+ 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]);
« no previous file with comments | « google_apis/gaia/oauth2_mint_token_flow.h ('k') | sql/statement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698