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
3 // found in the LICENSE file.
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
7 // files to only implement the macros they need, and everything else will
10 // Include this file at the top, and interfaces_postamble.h at the bottom. The
11 // postamble will clean up these definitions.
14 #define PROXIED_API(api_name)
15 #define UNDEFINE_PROXIED_API
19 #define UNPROXIED_API(api_name)
20 #define UNDEFINE_UNPROXIED_API
24 #define PROXIED_IFACE(api_name, iface_str, iface_struct)
25 #define UNDEFINE_PROXIED_IFACE
28 #ifndef UNPROXIED_IFACE
29 #define UNPROXIED_IFACE(api_name, iface_str, iface_struct)
30 #define UNDEFINE_UNPROXIED_IFACE