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

Unified Diff: google_apis/gaia/gaia_auth_fetcher.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 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/drive/drive_api_parser_unittest.cc ('k') | google_apis/gaia/gaia_oauth_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_auth_fetcher.cc
diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc
index 0940d3c8ea0fecb16cbe6e85b195622f580ef2eb..58561d2118ecf632878734d74adf6e98b85f4bf1 100644
--- a/google_apis/gaia/gaia_auth_fetcher.cc
+++ b/google_apis/gaia/gaia_auth_fetcher.cc
@@ -53,7 +53,7 @@ bool ExtractOAuth2TokenPairResponse(const std::string& data,
DCHECK(expires_in_secs);
std::unique_ptr<base::Value> value = base::JSONReader::Read(data);
- if (!value.get() || value->GetType() != base::Value::TYPE_DICTIONARY)
+ if (!value.get() || value->GetType() != base::Value::Type::DICTIONARY)
return false;
base::DictionaryValue* dict =
@@ -481,7 +481,7 @@ bool GaiaAuthFetcher::ParseListIdpSessionsResponse(const std::string& data,
DCHECK(login_hint);
std::unique_ptr<base::Value> value = base::JSONReader::Read(data);
- if (!value.get() || value->GetType() != base::Value::TYPE_DICTIONARY)
+ if (!value.get() || value->GetType() != base::Value::Type::DICTIONARY)
return false;
base::DictionaryValue* dict =
« no previous file with comments | « google_apis/drive/drive_api_parser_unittest.cc ('k') | google_apis/gaia/gaia_oauth_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698