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

Side by Side Diff: omaha_request_action.cc

Issue 2805027: AU: Changes for deltas on traditional bios machines. (Closed) Base URL: ssh://git@chromiumos-git/update_engine.git
Patch Set: fixes for review and merging in petkov's recent changes Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « omaha_request_action.h ('k') | omaha_request_action_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « omaha_request_action.h ('k') | omaha_request_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698