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

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

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) 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 #include "nacl_io/real_pepper_interface.h" 5 #include "nacl_io/real_pepper_interface.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <ppapi/c/pp_errors.h> 9 #include <ppapi/c/pp_errors.h>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 PP_Instance RealPepperInterface::GetInstance() { 96 PP_Instance RealPepperInterface::GetInstance() {
97 return instance_; 97 return instance_;
98 } 98 }
99 99
100 // Define getter function. 100 // Define getter function.
101 #include "nacl_io/pepper/undef_macros.h" 101 #include "nacl_io/pepper/undef_macros.h"
102 #include "nacl_io/pepper/define_empty_macros.h" 102 #include "nacl_io/pepper/define_empty_macros.h"
103 #undef BEGIN_INTERFACE 103 #undef BEGIN_INTERFACE
104 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ 104 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
105 BaseClass* RealPepperInterface::Get##BaseClass() { \ 105 BaseClass* RealPepperInterface::Get##BaseClass() { \
106 return BaseClass##interface_; \ 106 return BaseClass##interface_; \
107 } 107 }
108 #include "nacl_io/pepper/all_interfaces.h" 108 #include "nacl_io/pepper/all_interfaces.h"
109 109
110 } // namespace nacl_io 110 } // namespace nacl_io
111
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698