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

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

Issue 13032002: Add RequestOSFileHandle as a private PPAPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: addressed comments Created 7 years, 9 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/file_io_private.h
diff --git a/ppapi/cpp/private/file_io_private.h b/ppapi/cpp/private/file_io_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..6a861225c2c671c16c1e86a619f7628bdd6e7bce
--- /dev/null
+++ b/ppapi/cpp/private/file_io_private.h
@@ -0,0 +1,30 @@
+// Copyright (c) 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_FILE_IO_PRIVATE_H_
+#define PPAPI_CPP_PRIVATE_FILE_IO_PRIVATE_H_
+
+#include <string>
+
+#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/private/pp_file_handle.h"
+#include "ppapi/cpp/completion_callback.h"
+
+namespace pp {
+
+class FileIO;
+
+class FileIO_Private {
+ public:
+ /// Creates a FileIO_Private object.
+ FileIO_Private();
+
+ int32_t GetOSFileHandle(const FileIO& file_io,
dmichael (off chromium) 2013/03/27 19:40:53 This feels a little funny to me. If we go this rou
hamaji 2013/03/28 00:17:29 Done.
+ PP_FileHandle* result_handle,
+ const CompletionCallback& cc);
+};
+
+} // namespace pp
+
+#endif // PPAPI_CPP_PRIVATE_FILE_IO_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698