OLD | NEW |
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 $$ MAX_ARITY controls the number of arguments that dispatch::Invoke() supports. | 7 $$ MAX_ARITY controls the number of arguments that dispatch::Invoke() supports. |
8 $$ It is choosen to match the number of arguments base::Bind() supports. | 8 $$ It is choosen to match the number of arguments base::Bind() supports. |
9 $var MAX_ARITY = 7 | 9 $var MAX_ARITY = 7 |
10 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 10 // Copyright (c) 2012 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 REMOTING_BASE_IDISPATCH_DRIVER_WIN_H_ | 14 #ifndef REMOTING_BASE_IDISPATCH_DRIVER_WIN_H_ |
15 #define REMOTING_BASE_IDISPATCH_DRIVER_WIN_H_ | 15 #define REMOTING_BASE_IDISPATCH_DRIVER_WIN_H_ |
16 | 16 |
17 #include <oaidl.h> | 17 #include <oaidl.h> |
18 | 18 |
19 #include "base/basictypes.h" | 19 #include "base/basictypes.h" |
| 20 #include "base/macros.h" |
20 #include "base/template_util.h" | 21 #include "base/template_util.h" |
21 #include "base/win/scoped_variant.h" | 22 #include "base/win/scoped_variant.h" |
22 | 23 |
23 namespace remoting { | 24 namespace remoting { |
24 | 25 |
25 namespace dispatch { | 26 namespace dispatch { |
26 | 27 |
27 namespace internal { | 28 namespace internal { |
28 | 29 |
29 // A helper wrapper for |VARIANTARG| that is used to pass parameters to and from | 30 // A helper wrapper for |VARIANTARG| that is used to pass parameters to and from |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 return S_OK; | 204 return S_OK; |
204 } | 205 } |
205 | 206 |
206 ]] | 207 ]] |
207 | 208 |
208 } // namespace dispatch | 209 } // namespace dispatch |
209 | 210 |
210 } // namespace remoting | 211 } // namespace remoting |
211 | 212 |
212 #endif // REMOTING_BASE_IDISPATCH_DRIVER_WIN_H_ | 213 #endif // REMOTING_BASE_IDISPATCH_DRIVER_WIN_H_ |
OLD | NEW |