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

Unified Diff: ppapi/cpp/private/plugin_private_file_system_private.h

Issue 26803004: PPAPI: Add PluginPrivateFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/private/plugin_private_file_system_private.h
diff --git a/ppapi/cpp/private/plugin_private_file_system_private.h b/ppapi/cpp/private/plugin_private_file_system_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..1cf5656164f25890ad1d01ae48d5d6a424aef0eb
--- /dev/null
+++ b/ppapi/cpp/private/plugin_private_file_system_private.h
@@ -0,0 +1,31 @@
+// 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_CPP_PRIVATE_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_
+#define PPAPI_CPP_PRIVATE_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_
+
+#include "ppapi/c/pp_instance.h"
+#include "ppapi/cpp/completion_callback.h"
+#include "ppapi/cpp/file_system.h"
+#include "ppapi/cpp/instance_handle.h"
+
+namespace pp {
+
+class CompletionCallback;
+
+class PluginPrivateFileSystemPrivate {
+ public:
+ PluginPrivateFileSystemPrivate();
+ explicit PluginPrivateFileSystemPrivate(const InstanceHandle& instance);
+ virtual ~PluginPrivateFileSystemPrivate();
+
+ int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc);
+
+ private:
+ PP_Instance instance_;
+};
+
+} // namespace pp
+
+#endif // PPAPI_CPP_PRIVATE_PLUGIN_PRIVATE_FILE_SYSTEM_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698