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

Side by Side Diff: content/renderer/pepper/pepper_in_process_resource_creation.h

Issue 11419131: Refactor FileIO to the new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/proxy/connection.h" 10 #include "ppapi/proxy/connection.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual ~PepperInProcessResourceCreation(); 42 virtual ~PepperInProcessResourceCreation();
43 43
44 // ResourceCreation_API implementation. 44 // ResourceCreation_API implementation.
45 virtual PP_Resource CreateBrowserFont( 45 virtual PP_Resource CreateBrowserFont(
46 PP_Instance instance, 46 PP_Instance instance,
47 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 47 const PP_BrowserFont_Trusted_Description* description) OVERRIDE;
48 virtual PP_Resource CreateFileChooser( 48 virtual PP_Resource CreateFileChooser(
49 PP_Instance instance, 49 PP_Instance instance,
50 PP_FileChooserMode_Dev mode, 50 PP_FileChooserMode_Dev mode,
51 const char* accept_types) OVERRIDE; 51 const char* accept_types) OVERRIDE;
52 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
52 virtual PP_Resource CreatePrinting( 53 virtual PP_Resource CreatePrinting(
53 PP_Instance instance) OVERRIDE; 54 PP_Instance instance) OVERRIDE;
54 virtual PP_Resource CreateURLRequestInfo( 55 virtual PP_Resource CreateURLRequestInfo(
55 PP_Instance instance, 56 PP_Instance instance,
56 const ::ppapi::URLRequestInfoData& data) OVERRIDE; 57 const ::ppapi::URLRequestInfoData& data) OVERRIDE;
57 virtual PP_Resource CreateURLResponseInfo( 58 virtual PP_Resource CreateURLResponseInfo(
58 PP_Instance instance, 59 PP_Instance instance,
59 const ::ppapi::URLResponseInfoData& data, 60 const ::ppapi::URLResponseInfoData& data,
60 PP_Resource file_ref_resource) OVERRIDE; 61 PP_Resource file_ref_resource) OVERRIDE;
61 virtual PP_Resource CreateWebSocket( 62 virtual PP_Resource CreateWebSocket(
62 PP_Instance instance) OVERRIDE; 63 PP_Instance instance) OVERRIDE;
63 64
64 private: 65 private:
65 // Non-owning pointer to the host for the current plugin. 66 // Non-owning pointer to the host for the current plugin.
66 RendererPpapiHostImpl* host_impl_; 67 RendererPpapiHostImpl* host_impl_;
67 68
68 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); 69 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation);
69 }; 70 };
70 71
71 } // namespace content 72 } // namespace content
72 73
73 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 74 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698