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

Unified Diff: components/update_client/update_response.cc

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698