Index: components/update_client/update_response.h |
diff --git a/components/update_client/update_response.h b/components/update_client/update_response.h |
index 01b49aaafa9844ba036731909c8946c93cad5154..5f7ca5728717d2486ea5ee46d1f57d57f2b1a67b 100644 |
--- a/components/update_client/update_response.h |
+++ b/components/update_client/update_response.h |
@@ -95,6 +95,9 @@ class UpdateResponse { |
std::string extension_id; |
+ // The updatecheck response status. |
+ std::string status; |
+ |
// The list of fallback urls, for full and diff updates respectively. |
// These urls are base urls; they don't include the filename. |
std::vector<GURL> crx_urls; |
@@ -130,8 +133,9 @@ class UpdateResponse { |
// Parses an update response xml string into Result data. Returns a bool |
// indicating success or failure. On success, the results are available by |
- // calling results(). The details for any failures are available by calling |
- // errors(). |
+ // calling results(). In case of success, only results corresponding to |
+ // the update check status |ok| or |noupdate| are included. |
+ // The details for any failures are available by calling errors(). |
bool Parse(const std::string& manifest_xml); |
const Results& results() const { return results_; } |