Index: ppapi/proxy/plugin_private_file_system_private_resource.h |
diff --git a/ppapi/proxy/plugin_private_file_system_private_resource.h b/ppapi/proxy/plugin_private_file_system_private_resource.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..384a81cdf5c56f5b274a0af4845203e226f61ccb |
--- /dev/null |
+++ b/ppapi/proxy/plugin_private_file_system_private_resource.h |
@@ -0,0 +1,48 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PPAPI_PROXY_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_RESOURCE_H_ |
+#define PPAPI_PROXY_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_RESOURCE_H_ |
+ |
+#include <string> |
+ |
+#include "base/memory/ref_counted.h" |
+#include "ppapi/proxy/connection.h" |
+#include "ppapi/proxy/plugin_resource.h" |
+#include "ppapi/proxy/ppapi_proxy_export.h" |
+#include "ppapi/thunk/ppb_plugin_private_file_system_private_api.h" |
+ |
+namespace ppapi { |
+ |
+class TrackedCallback; |
+ |
+namespace proxy { |
+ |
+class ResourceMessageReplyParams; |
+ |
+class PPAPI_PROXY_EXPORT PluginPrivateFileSystemPrivateResource |
+ : public PluginResource, |
+ public thunk::PPB_PluginPrivateFileSystem_Private_API { |
+ public: |
+ PluginPrivateFileSystemPrivateResource(Connection connection, |
+ PP_Instance instance); |
+ virtual ~PluginPrivateFileSystemPrivateResource(); |
+ |
+ // Resource overrides. |
+ virtual thunk::PPB_PluginPrivateFileSystem_Private_API* |
+ AsPPB_PluginPrivateFileSystem_Private_API() OVERRIDE; |
+ |
+ // PPB_PluginPrivateFileSystem_Private_API implementation. |
+ virtual int32_t Open(PP_Instance instance, |
+ PP_Resource* file_system_resource, |
+ scoped_refptr<TrackedCallback> callback) OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(PluginPrivateFileSystemPrivateResource); |
+}; |
+ |
+} // namespace proxy |
+} // namespace ppapi |
+ |
+#endif // PPAPI_PROXY_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_RESOURCE_H_ |