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

Unified Diff: mojo/public/bindings/sample/generated/sample_bar_serialization.h

Issue 60803002: Simpler bindings, fewer files! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move more to the .cc file Created 7 years, 1 month 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: mojo/public/bindings/sample/generated/sample_bar_serialization.h
diff --git a/mojo/public/bindings/sample/generated/sample_bar_serialization.h b/mojo/public/bindings/sample/generated/sample_bar_serialization.h
deleted file mode 100644
index 8947e754812eca67001a6a9bf6120619a97a63e7..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/sample/generated/sample_bar_serialization.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef MOJO_GENERATED_BINDINGS_SAMPLE_BAR_SERIALIZATION_H_
-#define MOJO_GENERATED_BINDINGS_SAMPLE_BAR_SERIALIZATION_H_
-
-#include "mojo/public/bindings/lib/bindings_serialization.h"
-
-namespace sample {
-class Bar;
-}
-
-namespace mojo {
-namespace internal {
-
-template <>
-class ObjectTraits<sample::Bar> {
- public:
- static size_t ComputeSizeOf(const sample::Bar* bar);
- static sample::Bar* Clone(const sample::Bar* bar, Buffer* buf);
- static void EncodePointersAndHandles(sample::Bar* bar,
- std::vector<mojo::Handle>* handles);
- static bool DecodePointersAndHandles(sample::Bar* bar,
- const mojo::Message& message);
-};
-
-} // namespace internal
-} // namespace mojo
-
-#endif // MOJO_GENERATED_BINDINGS_SAMPLE_BAR_SERIALIZATION_H_

Powered by Google App Engine
This is Rietveld 408576698