| OLD | NEW |
| 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 #ifndef PPAPI_PROXY_PROXY_ARRAY_OUTPUT_H_ | 5 #ifndef PPAPI_PROXY_PROXY_ARRAY_OUTPUT_H_ |
| 6 #define PPAPI_PROXY_PROXY_ARRAY_OUTPUT_H_ | 6 #define PPAPI_PROXY_PROXY_ARRAY_OUTPUT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 12 #include "ppapi/c/pp_array_output.h" | 14 #include "ppapi/c/pp_array_output.h" |
| 13 | 15 |
| 14 // Like ppapi/cpp/array_output.h file in the C++ wrappers but for use in the | 16 // Like ppapi/cpp/array_output.h file in the C++ wrappers but for use in the |
| 15 // proxy where we can't link to the C++ wrappers. This also adds a refcounted | 17 // proxy where we can't link to the C++ wrappers. This also adds a refcounted |
| 16 // version. | 18 // version. |
| 17 // | 19 // |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 public: | 131 public: |
| 130 RefCountedArrayOutputAdapter() | 132 RefCountedArrayOutputAdapter() |
| 131 : ArrayOutputAdapterWithStorage<T>() { | 133 : ArrayOutputAdapterWithStorage<T>() { |
| 132 } | 134 } |
| 133 }; | 135 }; |
| 134 | 136 |
| 135 } // namespace proxy | 137 } // namespace proxy |
| 136 } // namespace ppapi | 138 } // namespace ppapi |
| 137 | 139 |
| 138 #endif // PPAPI_PROXY_PROXY_ARRAY_OUTPUT_H_ | 140 #endif // PPAPI_PROXY_PROXY_ARRAY_OUTPUT_H_ |
| OLD | NEW |