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

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

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 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_PEPPER_INTERFACE_DUMMY_H_ 5 #ifndef LIBRARIES_NACL_IO_PEPPER_INTERFACE_DUMMY_H_
6 #define LIBRARIES_NACL_IO_PEPPER_INTERFACE_DUMMY_H_ 6 #define LIBRARIES_NACL_IO_PEPPER_INTERFACE_DUMMY_H_
7 7
8 #include "nacl_io/pepper_interface.h" 8 #include "nacl_io/pepper_interface.h"
9 9
10 // This class simplifies implementing a PepperInterface-derived class where you 10 // This class simplifies implementing a PepperInterface-derived class where you
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 PepperInterfaceDummy() {} 28 PepperInterfaceDummy() {}
29 virtual ~PepperInterfaceDummy() {} 29 virtual ~PepperInterfaceDummy() {}
30 virtual PP_Instance GetInstance() { return 0; } 30 virtual PP_Instance GetInstance() { return 0; }
31 31
32 // Interface getters. 32 // Interface getters.
33 #include "nacl_io/pepper/undef_macros.h" 33 #include "nacl_io/pepper/undef_macros.h"
34 #include "nacl_io/pepper/define_empty_macros.h" 34 #include "nacl_io/pepper/define_empty_macros.h"
35 #undef BEGIN_INTERFACE 35 #undef BEGIN_INTERFACE
36 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ 36 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
37 virtual BaseClass* Get##BaseClass() { return NULL; } 37 virtual BaseClass* Get##BaseClass() { return NULL; }
38 #include "nacl_io/pepper/all_interfaces.h" 38 #include "nacl_io/pepper/all_interfaces.h"
39 }; 39 };
40 40
41 } // namespace nacl_io 41 } // namespace nacl_io
42 42
43 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_DUMMY_H_ 43 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_DUMMY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698