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

Side by Side Diff: mojo/public/cpp/bindings/interface.h

Issue 218613010: Mojo: Move mojo/public/bindings/*.h to mojo/public/cpp/bindings/*.h. (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/error_handler.h ('k') | mojo/public/cpp/bindings/message.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_INTERFACE_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_INTERFACE_H_
6 #define MOJO_PUBLIC_BINDINGS_INTERFACE_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_INTERFACE_H_
7 7
8 #include <assert.h> 8 #include <assert.h>
9 9
10 #include "mojo/public/bindings/message.h" 10 #include "mojo/public/cpp/bindings/message.h"
11 #include "mojo/public/cpp/system/core.h" 11 #include "mojo/public/cpp/system/core.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 14
15 15
16 // NoInterface is for use in cases when a non-existent or empty interface is 16 // NoInterface is for use in cases when a non-existent or empty interface is
17 // needed (e.g., when the Mojom "Peer" attribute is not present). 17 // needed (e.g., when the Mojom "Peer" attribute is not present).
18 18
19 class NoInterface; 19 class NoInterface;
20 20
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 typename Interface<S>::ScopedHandle handle_to_self; 83 typename Interface<S>::ScopedHandle handle_to_self;
84 typename Interface<P>::ScopedHandle handle_to_peer; 84 typename Interface<P>::ScopedHandle handle_to_peer;
85 }; 85 };
86 86
87 // TODO(darin): Once we have the ability to use C++11 features, consider 87 // TODO(darin): Once we have the ability to use C++11 features, consider
88 // defining a template alias for ScopedInterfaceHandle<S>. 88 // defining a template alias for ScopedInterfaceHandle<S>.
89 89
90 } // namespace mojo 90 } // namespace mojo
91 91
92 #endif // MOJO_PUBLIC_BINDINGS_SCOPED_INTERFACE_H_ 92 #endif // MOJO_PUBLIC_CPP_BINDINGS_INTERFACE_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/error_handler.h ('k') | mojo/public/cpp/bindings/message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698