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

Unified Diff: google_apis/gaia/google_service_auth_error.cc

Issue 16915006: Convert most of extensions and some other random stuff to using the base namespace for Values. (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
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 59569c7dfc0204685a2fe09e857ec483970bfbfe..ab3d9c07de5f573b92c59cc56179963082f7676a 100644
--- a/google_apis/gaia/google_service_auth_error.cc
+++ b/google_apis/gaia/google_service_auth_error.cc
@@ -154,8 +154,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
@@ -182,7 +182,7 @@ DictionaryValue* GoogleServiceAuthError::ToValue() const {
value->SetString("errorMessage", error_message_);
}
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());
@@ -193,7 +193,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);

Powered by Google App Engine
This is Rietveld 408576698