diff options
Diffstat (limited to 'mojo/public/bindings/sample/generated/sample_foo.cc')
-rw-r--r-- | mojo/public/bindings/sample/generated/sample_foo.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mojo/public/bindings/sample/generated/sample_foo.cc b/mojo/public/bindings/sample/generated/sample_foo.cc deleted file mode 100644 index d5d99e4..0000000 --- a/mojo/public/bindings/sample/generated/sample_foo.cc +++ /dev/null @@ -1,19 +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. - -#include "mojo/public/bindings/sample/generated/sample_foo.h" - -namespace sample { - -// static -Foo* Foo::New(mojo::Buffer* buf) { - return new (buf->Allocate(sizeof(Foo))) Foo(); -} - -Foo::Foo() { - _header_.num_bytes = sizeof(*this); - _header_.num_fields = 10; -} - -} // namespace sample |