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

Side by Side Diff: mojo/public/cpp/bindings/callback.h.pump

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/callback.h ('k') | mojo/public/cpp/bindings/lib/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 $$ This is a pump file for generating file templates. Pump is a python 1 $$ This is a pump file for generating file templates. Pump is a python
2 $$ script that is part of the Google Test suite of utilities. Description 2 $$ script that is part of the Google Test suite of utilities. Description
3 $$ can be found here: 3 $$ can be found here:
4 $$ 4 $$
5 $$ http://code.google.com/p/googletest/wiki/PumpManual 5 $$ http://code.google.com/p/googletest/wiki/PumpManual
6 $$ 6 $$
7 7
8 $var MAX_ARITY = 7 8 $var MAX_ARITY = 7
9 9
10 // Copyright 2014 The Chromium Authors. All rights reserved. 10 // Copyright 2014 The Chromium Authors. All rights reserved.
11 // Use of this source code is governed by a BSD-style license that can be 11 // Use of this source code is governed by a BSD-style license that can be
12 // found in the LICENSE file. 12 // found in the LICENSE file.
13 13
14 #ifndef MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ 14 #ifndef MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_
15 #define MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ 15 #define MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_
16 16
17 #include "mojo/public/bindings/lib/callback_internal.h" 17 #include "mojo/public/cpp/bindings/lib/callback_internal.h"
18 #include "mojo/public/bindings/lib/shared_ptr.h" 18 #include "mojo/public/cpp/bindings/lib/shared_ptr.h"
19 19
20 namespace mojo { 20 namespace mojo {
21 21
22 template <typename Sig> 22 template <typename Sig>
23 class Callback; 23 class Callback;
24 24
25 $range ARITY 0..MAX_ARITY 25 $range ARITY 0..MAX_ARITY
26 $for ARITY [[ 26 $for ARITY [[
27 $range ARG 1..ARITY 27 $range ARG 1..ARITY
28 28
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 }; 70 };
71 71
72 internal::SharedPtr<Runnable> sink_; 72 internal::SharedPtr<Runnable> sink_;
73 }; 73 };
74 74
75 ]] $$ for ARITY 75 ]] $$ for ARITY
76 76
77 } // namespace mojo 77 } // namespace mojo
78 78
79 #endif // MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_ 79 #endif // MOJO_PUBLIC_CPP_BINDINGS_CALLBACK_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/callback.h ('k') | mojo/public/cpp/bindings/lib/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698