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

Unified Diff: mojo/public/bindings/sample/generated/sample_foo_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_foo_serialization.h
diff --git a/mojo/public/bindings/sample/generated/sample_foo_serialization.h b/mojo/public/bindings/sample/generated/sample_foo_serialization.h
deleted file mode 100644
index 58b771404b64e32825427334d7120f785e5b76f4..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/sample/generated/sample_foo_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_FOO_SERIALIZATION_H_
-#define MOJO_GENERATED_BINDINGS_SAMPLE_FOO_SERIALIZATION_H_
-
-#include "mojo/public/bindings/lib/bindings_serialization.h"
-
-namespace sample {
-class Foo;
-}
-
-namespace mojo {
-namespace internal {
-
-template <>
-class ObjectTraits<sample::Foo> {
- public:
- static size_t ComputeSizeOf(const sample::Foo* foo);
- static sample::Foo* Clone(const sample::Foo* foo, Buffer* buf);
- static void EncodePointersAndHandles(sample::Foo* foo,
- std::vector<mojo::Handle>* handles);
- static bool DecodePointersAndHandles(sample::Foo* foo,
- const mojo::Message& message);
-};
-
-} // namespace internal
-} // namespace mojo
-
-#endif // MOJO_GENERATED_BINDINGS_SAMPLE_FOO_SERIALIZATION_H_

Powered by Google App Engine
This is Rietveld 408576698