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

Unified Diff: trunk/src/mojo/public/bindings/sample/mojom/sample_service_internal.h

Issue 69243003: Revert 234233 "Add mojo_idl_generator.gypi" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: 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_

Powered by Google App Engine
This is Rietveld 408576698