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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.h

Issue 7745005: Initial work for UDP Pepper API (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: prevent Close from executing more than once Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const PP_Var& accept_mime_types) OVERRIDE; 64 const PP_Var& accept_mime_types) OVERRIDE;
65 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; 65 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
66 virtual PP_Resource CreateFileRef(PP_Resource file_system, 66 virtual PP_Resource CreateFileRef(PP_Resource file_system,
67 const char* path) OVERRIDE; 67 const char* path) OVERRIDE;
68 virtual PP_Resource CreateFileSystem(PP_Instance instance, 68 virtual PP_Resource CreateFileSystem(PP_Instance instance,
69 PP_FileSystemType type) OVERRIDE; 69 PP_FileSystemType type) OVERRIDE;
70 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 70 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
71 const PP_Flash_Menu* menu_data) OVERRIDE; 71 const PP_Flash_Menu* menu_data) OVERRIDE;
72 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; 72 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE;
73 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instance) OVERRIDE; 73 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instance) OVERRIDE;
74 virtual PP_Resource CreateFlashUDPSocket(PP_Instance instance) OVERRIDE;
74 virtual PP_Resource CreateFontObject( 75 virtual PP_Resource CreateFontObject(
75 PP_Instance instance, 76 PP_Instance instance,
76 const PP_FontDescription_Dev* description) OVERRIDE; 77 const PP_FontDescription_Dev* description) OVERRIDE;
77 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 78 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
78 const PP_Size& size, 79 const PP_Size& size,
79 PP_Bool is_always_opaque) OVERRIDE; 80 PP_Bool is_always_opaque) OVERRIDE;
80 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 81 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
81 PP_Resource share_context, 82 PP_Resource share_context,
82 const int32_t* attrib_list) OVERRIDE; 83 const int32_t* attrib_list) OVERRIDE;
83 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, 84 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 std::string* image_data_desc, 152 std::string* image_data_desc,
152 ImageHandle* result_image_handle); 153 ImageHandle* result_image_handle);
153 154
154 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 155 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
155 }; 156 };
156 157
157 } // namespace proxy 158 } // namespace proxy
158 } // namespace ppapi 159 } // namespace ppapi
159 160
160 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 161 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698