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

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

Issue 401883003: Mojo: Drive-by include fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 6 years, 5 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
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_CPP_BINDINGS_NO_INTERFACE_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_
7 7
8 #include <assert.h>
9
10 #include "mojo/public/cpp/bindings/message.h" 8 #include "mojo/public/cpp/bindings/message.h"
11 #include "mojo/public/cpp/bindings/message_filter.h" 9 #include "mojo/public/cpp/bindings/message_filter.h"
12 #include "mojo/public/cpp/system/core.h" 10 #include "mojo/public/cpp/system/core.h"
13 11
14 namespace mojo { 12 namespace mojo {
15 13
16 // NoInterface is for use in cases when a non-existent or empty interface is 14 // 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). 15 // needed (e.g., when the Mojom "Peer" attribute is not present).
18 16
19 class NoInterfaceProxy; 17 class NoInterfaceProxy;
(...skipping 27 matching lines...) Expand all
47 45
48 46
49 // AnyInterface is for use in cases where any interface would do (e.g., see the 47 // AnyInterface is for use in cases where any interface would do (e.g., see the
50 // Shell::Connect method). 48 // Shell::Connect method).
51 49
52 typedef NoInterface AnyInterface; 50 typedef NoInterface AnyInterface;
53 51
54 } // namespace mojo 52 } // namespace mojo
55 53
56 #endif // MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_ 54 #endif // MOJO_PUBLIC_CPP_BINDINGS_NO_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698