| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | |
| 3 * Use of this source code is governed by a BSD-style license that can | |
| 4 * be found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 #ifndef NATIVE_CLIENT_TESTS_FAKE_BROWSER_PPAPI_FAKE_CORE_H_ | |
| 8 #define NATIVE_CLIENT_TESTS_FAKE_BROWSER_PPAPI_FAKE_CORE_H_ | |
| 9 | |
| 10 #include "native_client/src/include/nacl_macros.h" | |
| 11 #include "ppapi/c/ppb_core.h" | |
| 12 | |
| 13 namespace fake_browser_ppapi { | |
| 14 | |
| 15 // Implements the PPB_Core interface. | |
| 16 class Core { | |
| 17 public: | |
| 18 // Return an interface pointer usable by PPAPI. | |
| 19 static const PPB_Core* GetInterface(); | |
| 20 | |
| 21 private: | |
| 22 NACL_DISALLOW_COPY_AND_ASSIGN(Core); | |
| 23 }; | |
| 24 | |
| 25 } // namespace fake_browser_ppapi | |
| 26 | |
| 27 #endif // NATIVE_CLIENT_TESTS_FAKE_BROWSER_PPAPI_FAKE_CORE_H_ | |
| OLD | NEW |