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

Side by Side Diff: mojo/public/cpp/bindings/lib/array_internal.h

Issue 220243007: Mojo: Move mojo/public/bindings/lib to mojo/public/cpp/bindings/lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/cpp/bindings/lib/array.cc ('k') | mojo/public/cpp/bindings/lib/array_internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_PUBLIC_BINDINGS_LIB_ARRAY_INTERNAL_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_
6 #define MOJO_PUBLIC_BINDINGS_LIB_ARRAY_INTERNAL_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_
7 7
8 #include <new> 8 #include <new>
9 9
10 #include "mojo/public/bindings/lib/bindings_internal.h"
11 #include "mojo/public/bindings/lib/bindings_serialization.h"
12 #include "mojo/public/cpp/bindings/buffer.h" 10 #include "mojo/public/cpp/bindings/buffer.h"
11 #include "mojo/public/cpp/bindings/lib/bindings_internal.h"
12 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h"
13 #include "mojo/public/cpp/bindings/passable.h" 13 #include "mojo/public/cpp/bindings/passable.h"
14 #include "mojo/public/cpp/system/core.h" 14 #include "mojo/public/cpp/system/core.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 template <typename T> class Array; 17 template <typename T> class Array;
18 18
19 namespace internal { 19 namespace internal {
20 20
21 template <typename T> 21 template <typename T>
22 struct ArrayDataTraits { 22 struct ArrayDataTraits {
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 } 362 }
363 static Ref ToRef(MessagePipeHandle& data) { return Ref(&data); } 363 static Ref ToRef(MessagePipeHandle& data) { return Ref(&data); }
364 static ConstRef ToConstRef(const MessagePipeHandle& data) { 364 static ConstRef ToConstRef(const MessagePipeHandle& data) {
365 return ConstRef(const_cast<MessagePipeHandle*>(&data)); 365 return ConstRef(const_cast<MessagePipeHandle*>(&data));
366 } 366 }
367 }; 367 };
368 368
369 } // namespace internal 369 } // namespace internal
370 } // namespace mojo 370 } // namespace mojo
371 371
372 #endif // MOJO_PUBLIC_BINDINGS_LIB_ARRAY_INTERNAL_H_ 372 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_INTERNAL_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/lib/array.cc ('k') | mojo/public/cpp/bindings/lib/array_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698