OLD | NEW |
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "update_engine/omaha_request_action.h" | 5 #include "update_engine/omaha_request_action.h" |
6 #include <inttypes.h> | 6 #include <inttypes.h> |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include <libxml/parser.h> | 9 #include <libxml/parser.h> |
10 #include <libxml/xpath.h> | 10 #include <libxml/xpath.h> |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 281 |
282 output_object.display_version = | 282 output_object.display_version = |
283 XmlGetProperty(updatecheck_node, "DisplayVersion"); | 283 XmlGetProperty(updatecheck_node, "DisplayVersion"); |
284 output_object.codebase = XmlGetProperty(updatecheck_node, "codebase"); | 284 output_object.codebase = XmlGetProperty(updatecheck_node, "codebase"); |
285 output_object.more_info_url = XmlGetProperty(updatecheck_node, "MoreInfo"); | 285 output_object.more_info_url = XmlGetProperty(updatecheck_node, "MoreInfo"); |
286 output_object.hash = XmlGetProperty(updatecheck_node, "hash"); | 286 output_object.hash = XmlGetProperty(updatecheck_node, "hash"); |
287 output_object.size = ParseInt(XmlGetProperty(updatecheck_node, "size")); | 287 output_object.size = ParseInt(XmlGetProperty(updatecheck_node, "size")); |
288 output_object.needs_admin = | 288 output_object.needs_admin = |
289 XmlGetProperty(updatecheck_node, "needsadmin") == "true"; | 289 XmlGetProperty(updatecheck_node, "needsadmin") == "true"; |
290 output_object.prompt = XmlGetProperty(updatecheck_node, "Prompt") == "true"; | 290 output_object.prompt = XmlGetProperty(updatecheck_node, "Prompt") == "true"; |
| 291 output_object.is_delta = |
| 292 XmlGetProperty(updatecheck_node, "IsDelta") == "true"; |
291 SetOutputObject(output_object); | 293 SetOutputObject(output_object); |
292 return; | 294 return; |
293 } | 295 } |
294 | 296 |
295 }; // namespace chromeos_update_engine | 297 }; // namespace chromeos_update_engine |
OLD | NEW |