| Index: trunk/src/mojo/public/bindings/sample/mojom/sample_service_internal.h
|
| ===================================================================
|
| --- trunk/src/mojo/public/bindings/sample/mojom/sample_service_internal.h (revision 234276)
|
| +++ trunk/src/mojo/public/bindings/sample/mojom/sample_service_internal.h (working copy)
|
| @@ -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 "mojom/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_
|
|
|