| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 MOJO_PUBLIC_SYSTEM_CORE_PRIVATE_H_ | 5 #ifndef MOJO_PUBLIC_SYSTEM_CORE_PRIVATE_H_ | 
| 6 #define MOJO_PUBLIC_SYSTEM_CORE_PRIVATE_H_ | 6 #define MOJO_PUBLIC_SYSTEM_CORE_PRIVATE_H_ | 
| 7 | 7 | 
| 8 #include "mojo/public/system/core.h" | 8 #include "mojo/public/c/system/core.h" | 
| 9 | 9 | 
| 10 namespace mojo { | 10 namespace mojo { | 
| 11 | 11 | 
| 12 // Implementors of the core APIs can use this interface to install their | 12 // Implementors of the core APIs can use this interface to install their | 
| 13 // implementation into the mojo_system dynamic library. Mojo clients should not | 13 // implementation into the mojo_system dynamic library. Mojo clients should not | 
| 14 // call these functions directly. | 14 // call these functions directly. | 
| 15 class MOJO_SYSTEM_EXPORT Core { | 15 class MOJO_SYSTEM_EXPORT Core { | 
| 16  public: | 16  public: | 
| 17   virtual ~Core(); | 17   virtual ~Core(); | 
| 18 | 18 | 
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 78                                uint64_t offset, | 78                                uint64_t offset, | 
| 79                                uint64_t num_bytes, | 79                                uint64_t num_bytes, | 
| 80                                void** buffer, | 80                                void** buffer, | 
| 81                                MojoMapBufferFlags flags) = 0; | 81                                MojoMapBufferFlags flags) = 0; | 
| 82   virtual MojoResult UnmapBuffer(void* buffer) = 0; | 82   virtual MojoResult UnmapBuffer(void* buffer) = 0; | 
| 83 }; | 83 }; | 
| 84 | 84 | 
| 85 }  // namespace mojo | 85 }  // namespace mojo | 
| 86 | 86 | 
| 87 #endif  // MOJO_PUBLIC_SYSTEM_CORE_PRIVATE_H_ | 87 #endif  // MOJO_PUBLIC_SYSTEM_CORE_PRIVATE_H_ | 
| OLD | NEW | 
|---|