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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years 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/thunk/ppb_url_loader_api.h ('k') | ppapi/utility/websocket/websocket_api.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_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 27 matching lines...) Expand all
38 namespace gpu { 38 namespace gpu {
39 namespace gles2 { 39 namespace gles2 {
40 struct ContextCreationAttribHelper; 40 struct ContextCreationAttribHelper;
41 } 41 }
42 struct Capabilities; 42 struct Capabilities;
43 } 43 }
44 44
45 namespace ppapi { 45 namespace ppapi {
46 46
47 struct FileRefCreateInfo; 47 struct FileRefCreateInfo;
48 struct URLRequestInfoData;
49 struct URLResponseInfoData;
50 48
51 namespace thunk { 49 namespace thunk {
52 50
53 // A functional API for creating resource types. Separating out the creation 51 // A functional API for creating resource types. Separating out the creation
54 // functions here allows us to implement most resources as a pure "resource 52 // functions here allows us to implement most resources as a pure "resource
55 // API", meaning all calls are routed on a per-resource-object basis. The 53 // API", meaning all calls are routed on a per-resource-object basis. The
56 // creation functions are not per-object (since there's no object during 54 // creation functions are not per-object (since there's no object during
57 // creation) so need functional routing based on the instance ID. 55 // creation) so need functional routing based on the instance ID.
58 class ResourceCreationAPI { 56 class ResourceCreationAPI {
59 public: 57 public:
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 PP_VideoDecoder_Profile profile) = 0; 207 PP_VideoDecoder_Profile profile) = 0;
210 #endif // !defined(OS_NACL) 208 #endif // !defined(OS_NACL)
211 209
212 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 210 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
213 }; 211 };
214 212
215 } // namespace thunk 213 } // namespace thunk
216 } // namespace ppapi 214 } // namespace ppapi
217 215
218 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 216 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_url_loader_api.h ('k') | ppapi/utility/websocket/websocket_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698