| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This file defines empty versions of the macros used in the interfaces_*.h | 5 // This file defines empty versions of the macros used in the interfaces_*.h |
| 6 // files, as long as they aren't already defined. This allows users of those | 6 // files, as long as they aren't already defined. This allows users of those |
| 7 // files to only implement the macros they need, and everything else will | 7 // files to only implement the macros they need, and everything else will |
| 8 // compile. | 8 // compile. |
| 9 // | 9 // |
| 10 // Include this file at the top, and interfaces_postamble.h at the bottom. The | 10 // Include this file at the top, and interfaces_postamble.h at the bottom. The |
| 11 // postamble will clean up these definitions. | 11 // postamble will clean up these definitions. |
| 12 | 12 |
| 13 #ifndef PROXIED_API | 13 #ifndef PROXIED_API |
| 14 #define PROXIED_API(api_name) | 14 #define PROXIED_API(api_name) |
| 15 #define UNDEFINE_PROXIED_API | 15 #define UNDEFINE_PROXIED_API |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 #ifndef UNPROXIED_API | |
| 19 #define UNPROXIED_API(api_name) | |
| 20 #define UNDEFINE_UNPROXIED_API | |
| 21 #endif | |
| 22 | |
| 23 #ifndef PROXIED_IFACE | 18 #ifndef PROXIED_IFACE |
| 24 #define PROXIED_IFACE(iface_str, iface_struct) | 19 #define PROXIED_IFACE(iface_str, iface_struct) |
| 25 #define UNDEFINE_PROXIED_IFACE | 20 #define UNDEFINE_PROXIED_IFACE |
| 26 #endif | 21 #endif |
| 27 | 22 |
| 28 #ifndef UNPROXIED_IFACE | 23 #ifndef UNPROXIED_IFACE |
| 29 #define UNPROXIED_IFACE(iface_str, iface_struct) | 24 #define UNPROXIED_IFACE(iface_str, iface_struct) |
| 30 #define UNDEFINE_UNPROXIED_IFACE | 25 #define UNDEFINE_UNPROXIED_IFACE |
| 31 #endif | 26 #endif |
| OLD | NEW |