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

Side by Side Diff: ppapi/shared_impl/resource.h

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 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
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef PPAPI_SHARED_IMPL_RESOURCE_H_ 5 #ifndef PPAPI_SHARED_IMPL_RESOURCE_H_
6 #define PPAPI_SHARED_IMPL_RESOURCE_H_ 6 #define PPAPI_SHARED_IMPL_RESOURCE_H_
7 7
8 #include <stddef.h> // For NULL. 8 #include <stddef.h> // For NULL.
9 9
10 #include <string> 10 #include <string>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 F(PPB_VideoDecoder_API) \ 83 F(PPB_VideoDecoder_API) \
84 F(PPB_VideoDecoder_Dev_API) \ 84 F(PPB_VideoDecoder_Dev_API) \
85 F(PPB_VideoDestination_Private_API) \ 85 F(PPB_VideoDestination_Private_API) \
86 F(PPB_VideoEncoder_API) \ 86 F(PPB_VideoEncoder_API) \
87 F(PPB_VideoFrame_API) \ 87 F(PPB_VideoFrame_API) \
88 F(PPB_VideoLayer_API) \ 88 F(PPB_VideoLayer_API) \
89 F(PPB_VideoSource_Private_API) \ 89 F(PPB_VideoSource_Private_API) \
90 F(PPB_View_API) \ 90 F(PPB_View_API) \
91 F(PPB_WebSocket_API) \ 91 F(PPB_WebSocket_API) \
92 F(PPB_Widget_API) \ 92 F(PPB_Widget_API) \
93 F(PPB_X509Certificate_Private_API) 93 F(PPB_X509Certificate_Private_API) \
94 F(PPB_FilesystemProvider_API)
94 95
95 namespace IPC { 96 namespace IPC {
96 class Message; 97 class Message;
97 } 98 }
98 99
99 namespace ppapi { 100 namespace ppapi {
100 101
101 // Normally we shouldn't reply on proxy here, but this is to support 102 // Normally we shouldn't reply on proxy here, but this is to support
102 // OnReplyReceived. See that comment. 103 // OnReplyReceived. See that comment.
103 namespace proxy { 104 namespace proxy {
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 template <> \ 252 template <> \
252 inline thunk::RESOURCE* Resource::GetAs() { \ 253 inline thunk::RESOURCE* Resource::GetAs() { \
253 return As##RESOURCE(); \ 254 return As##RESOURCE(); \
254 } 255 }
255 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST) 256 FOR_ALL_PPAPI_RESOURCE_APIS(DEFINE_RESOURCE_CAST)
256 #undef DEFINE_RESOURCE_CAST 257 #undef DEFINE_RESOURCE_CAST
257 258
258 } // namespace ppapi 259 } // namespace ppapi
259 260
260 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_ 261 #endif // PPAPI_SHARED_IMPL_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698