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

Unified Diff: blimp/helium/serializable_struct.cc

Issue 2602103002: Delete blimp/helium and remove references to it from dependent targets (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « blimp/helium/serializable_struct.h ('k') | blimp/helium/serializable_struct_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/helium/serializable_struct.cc
diff --git a/blimp/helium/serializable_struct.cc b/blimp/helium/serializable_struct.cc
deleted file mode 100644
index 1fc0727c53e9c61c8ef62e9151fed70278d25d42..0000000000000000000000000000000000000000
--- a/blimp/helium/serializable_struct.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "blimp/helium/serializable_struct.h"
-
-namespace blimp {
-namespace helium {
-
-SerializableStruct::SerializableStruct() {}
-
-SerializableStruct::~SerializableStruct() {}
-
-bool SerializableStruct::Parse(
- google::protobuf::io::CodedInputStream* input_stream) {
- for (auto* field : fields_) {
- if (!field->Parse(input_stream)) {
- return false;
- }
- }
- return true;
-}
-
-void SerializableStruct::Serialize(
- google::protobuf::io::CodedOutputStream* output_stream) const {
- for (const auto* field : fields_) {
- field->Serialize(output_stream);
- }
-}
-
-SerializableStruct::FieldBase::FieldBase() {}
-
-SerializableStruct::FieldBase::~FieldBase() {}
-
-void SerializableStruct::FieldBase::RegisterWith(
- SerializableStruct* container) {
- container->fields_.push_back(this);
-}
-
-} // namespace helium
-} // namespace blimp
« no previous file with comments | « blimp/helium/serializable_struct.h ('k') | blimp/helium/serializable_struct_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698