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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/real_pepper_interface.h

Issue 19717004: [NaCl SDK] Add nacl_io and sdk_util namespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad copyright in mount_mem Created 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ 5 #ifndef LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_
6 #define LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ 6 #define LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_
7 7
8 #include <ppapi/c/ppb.h> 8 #include <ppapi/c/ppb.h>
9 #include <ppapi/c/ppb_core.h> 9 #include <ppapi/c/ppb_core.h>
10 #include <ppapi/c/ppb_message_loop.h> 10 #include <ppapi/c/ppb_message_loop.h>
11 #include "pepper_interface.h" 11 #include "pepper_interface.h"
12 12
13 namespace nacl_io {
14
13 // Forward declare interface classes. 15 // Forward declare interface classes.
14 #include "nacl_io/pepper/undef_macros.h" 16 #include "nacl_io/pepper/undef_macros.h"
15 #include "nacl_io/pepper/define_empty_macros.h" 17 #include "nacl_io/pepper/define_empty_macros.h"
16 #undef BEGIN_INTERFACE 18 #undef BEGIN_INTERFACE
17 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ 19 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
18 class Real##BaseClass; 20 class Real##BaseClass;
19 #include "nacl_io/pepper/all_interfaces.h" 21 #include "nacl_io/pepper/all_interfaces.h"
20 22
21 class RealPepperInterface : public PepperInterface { 23 class RealPepperInterface : public PepperInterface {
22 public: 24 public:
(...skipping 22 matching lines...) Expand all
45 47
46 // Interface pointers. 48 // Interface pointers.
47 #include "nacl_io/pepper/undef_macros.h" 49 #include "nacl_io/pepper/undef_macros.h"
48 #include "nacl_io/pepper/define_empty_macros.h" 50 #include "nacl_io/pepper/define_empty_macros.h"
49 #undef BEGIN_INTERFACE 51 #undef BEGIN_INTERFACE
50 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ 52 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
51 Real##BaseClass* BaseClass##interface_; 53 Real##BaseClass* BaseClass##interface_;
52 #include "nacl_io/pepper/all_interfaces.h" 54 #include "nacl_io/pepper/all_interfaces.h"
53 }; 55 };
54 56
57 } // namespace nacl_io
58
55 #endif // LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_ 59 #endif // LIBRARIES_NACL_IO_REAL_PEPPER_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698