Index: chrome/browser/chromeos/gdata/gdata_operations.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_operations.cc b/chrome/browser/chromeos/gdata/gdata_operations.cc |
index e0057eb392b823f9288ef945bfcda7c37497b55f..b9381ba02c6d1ff0ec1ffcad9fb9e7e0434881db 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_operations.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_operations.cc |
@@ -502,7 +502,8 @@ bool AuthorizeAppsOperation::GetContentData(std::string* upload_content_type, |
return true; |
} |
-base::Value* AuthorizeAppsOperation::ParseResponse(const std::string& data) { |
+bool AuthorizeAppsOperation::ParseResponse(GDataErrorCode fetch_error_code, |
+ const std::string& data) { |
// Parse entry XML. |
XmlReader xml_reader; |
scoped_ptr<DocumentEntry> entry; |
@@ -531,7 +532,8 @@ base::Value* AuthorizeAppsOperation::ParseResponse(const std::string& data) { |
} |
} |
- return link_list.release(); |
+ RunCallback(fetch_error_code, link_list.PassAs<base::Value>()); |
+ return true; |
} |
GURL AuthorizeAppsOperation::GetURL() const { |