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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/pepper_interface_mock.cc

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 */
5 4
6 #include "pepper_interface_mock.h" 5 #include "pepper_interface_mock.h"
7 6
8 PepperInterfaceMock::PepperInterfaceMock(PP_Instance instance) 7 PepperInterfaceMock::PepperInterfaceMock(PP_Instance instance)
9 : instance_(instance), 8 : instance_(instance),
10 9
11 // Initialize interfaces. 10 // Initialize interfaces.
12 #include "nacl_io/pepper/undef_macros.h" 11 #include "nacl_io/pepper/undef_macros.h"
13 #include "nacl_io/pepper/define_empty_macros.h" 12 #include "nacl_io/pepper/define_empty_macros.h"
14 #undef BEGIN_INTERFACE 13 #undef BEGIN_INTERFACE
(...skipping 28 matching lines...) Expand all
43 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \ 42 #define BEGIN_INTERFACE(BaseClass, PPInterface, InterfaceString) \
44 BaseClass##Mock* PepperInterfaceMock::Get##BaseClass() { \ 43 BaseClass##Mock* PepperInterfaceMock::Get##BaseClass() { \
45 return BaseClass##interface_; \ 44 return BaseClass##interface_; \
46 } \ 45 } \
47 BaseClass##Mock::BaseClass##Mock() { \ 46 BaseClass##Mock::BaseClass##Mock() { \
48 } \ 47 } \
49 BaseClass##Mock::~BaseClass##Mock() { \ 48 BaseClass##Mock::~BaseClass##Mock() { \
50 } 49 }
51 #include "nacl_io/pepper/all_interfaces.h" 50 #include "nacl_io/pepper/all_interfaces.h"
52 51
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698