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

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

Issue 53173008: Add mojom_bindings_generator.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more rename 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_service_internal.h
diff --git a/mojo/public/bindings/sample/generated/sample_service_internal.h b/mojo/public/bindings/sample/generated/sample_service_internal.h
deleted file mode 100644
index fde2b3d0ae002f21952584a59d7861c911599123..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/sample/generated/sample_service_internal.h
+++ /dev/null
@@ -1,41 +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_SERVICE_SERIALIZATION_H_
-#define MOJO_GENERATED_BINDINGS_SAMPLE_SERVICE_SERIALIZATION_H_
-
-#include <string.h>
-
-#include "mojo/public/bindings/lib/bindings_serialization.h"
-#include "mojo/public/bindings/sample/generated/sample_service.h"
-
-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);
-};
-
-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_SERVICE_SERIALIZATION_H_
« no previous file with comments | « mojo/public/bindings/sample/generated/sample_service.cc ('k') | mojo/public/bindings/sample/mojom/sample_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698