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

Unified Diff: google_apis/gaia/google_service_auth_error.cc

Issue 17034006: Add base namespace to more values in sync and elsewhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « google_apis/gaia/gaia_oauth_client.cc ('k') | google_apis/gaia/oauth2_access_token_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/google_service_auth_error.cc
diff --git a/google_apis/gaia/google_service_auth_error.cc b/google_apis/gaia/google_service_auth_error.cc
index fcb7c0054161345c967ff7dc0c6c955a727eb348..bb872433cf4466a5146e0e54e9137281095bbfc7 100644
--- a/google_apis/gaia/google_service_auth_error.cc
+++ b/google_apis/gaia/google_service_auth_error.cc
@@ -135,8 +135,8 @@ const std::string& GoogleServiceAuthError::error_message() const {
return error_message_;
}
-DictionaryValue* GoogleServiceAuthError::ToValue() const {
- DictionaryValue* value = new DictionaryValue();
+base::DictionaryValue* GoogleServiceAuthError::ToValue() const {
+ base::DictionaryValue* value = new base::DictionaryValue();
std::string state_str;
switch (state_) {
#define STATE_CASE(x) case x: state_str = #x; break
@@ -158,7 +158,7 @@ DictionaryValue* GoogleServiceAuthError::ToValue() const {
}
value->SetString("state", state_str);
if (state_ == CAPTCHA_REQUIRED) {
- DictionaryValue* captcha_value = new DictionaryValue();
+ base::DictionaryValue* captcha_value = new base::DictionaryValue();
value->Set("captcha", captcha_value);
captcha_value->SetString("token", captcha_.token);
captcha_value->SetString("audioUrl", captcha_.audio_url.spec());
@@ -169,7 +169,7 @@ DictionaryValue* GoogleServiceAuthError::ToValue() const {
} else if (state_ == CONNECTION_FAILED) {
value->SetString("networkError", net::ErrorToString(network_error_));
} else if (state_ == TWO_FACTOR) {
- DictionaryValue* two_factor_value = new DictionaryValue();
+ base::DictionaryValue* two_factor_value = new base::DictionaryValue();
value->Set("two_factor", two_factor_value);
two_factor_value->SetString("token", second_factor_.token);
two_factor_value->SetString("promptText", second_factor_.prompt_text);
« no previous file with comments | « google_apis/gaia/gaia_oauth_client.cc ('k') | google_apis/gaia/oauth2_access_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698