| Index: components/update_client/update_response.cc
|
| diff --git a/components/component_updater/update_response.cc b/components/update_client/update_response.cc
|
| similarity index 95%
|
| rename from components/component_updater/update_response.cc
|
| rename to components/update_client/update_response.cc
|
| index c37c45b0b83ea47ef0c5e3f2c2ab02fd810d94c7..8677fe6ce3d97f4de58cd23f9e0069ffbd01c680 100644
|
| --- a/components/component_updater/update_response.cc
|
| +++ b/components/update_client/update_response.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/component_updater/update_response.h"
|
| +#include "components/update_client/update_response.h"
|
|
|
| #include <algorithm>
|
|
|
| @@ -15,25 +15,35 @@
|
| #include "libxml/tree.h"
|
| #include "third_party/libxml/chromium/libxml_utils.h"
|
|
|
| -namespace component_updater {
|
| +namespace update_client {
|
|
|
| static const char* kExpectedResponseProtocol = "3.0";
|
|
|
| -UpdateResponse::UpdateResponse() {}
|
| -UpdateResponse::~UpdateResponse() {}
|
| +UpdateResponse::UpdateResponse() {
|
| +}
|
| +UpdateResponse::~UpdateResponse() {
|
| +}
|
|
|
| -UpdateResponse::Results::Results() : daystart_elapsed_seconds(kNoDaystart) {}
|
| -UpdateResponse::Results::~Results() {}
|
| +UpdateResponse::Results::Results() : daystart_elapsed_seconds(kNoDaystart) {
|
| +}
|
| +UpdateResponse::Results::~Results() {
|
| +}
|
|
|
| -UpdateResponse::Result::Result() {}
|
| +UpdateResponse::Result::Result() {
|
| +}
|
|
|
| -UpdateResponse::Result::~Result() {}
|
| +UpdateResponse::Result::~Result() {
|
| +}
|
|
|
| -UpdateResponse::Result::Manifest::Manifest() {}
|
| -UpdateResponse::Result::Manifest::~Manifest() {}
|
| +UpdateResponse::Result::Manifest::Manifest() {
|
| +}
|
| +UpdateResponse::Result::Manifest::~Manifest() {
|
| +}
|
|
|
| -UpdateResponse::Result::Manifest::Package::Package() : size(0), sizediff(0) {}
|
| -UpdateResponse::Result::Manifest::Package::~Package() {}
|
| +UpdateResponse::Result::Manifest::Package::Package() : size(0), sizediff(0) {
|
| +}
|
| +UpdateResponse::Result::Manifest::Package::~Package() {
|
| +}
|
|
|
| void UpdateResponse::ParseError(const char* details, ...) {
|
| va_list args;
|
| @@ -336,4 +346,4 @@ bool UpdateResponse::Parse(const std::string& response_xml) {
|
| return true;
|
| }
|
|
|
| -} // namespace component_updater
|
| +} // namespace update_client
|
|
|