1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_
8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
10 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/cpp/file_system.h"
12 #include "ppapi/cpp/instance_handle.h"
16 class CompletionCallback
;
18 class IsolatedFileSystemPrivate
{
20 IsolatedFileSystemPrivate();
21 IsolatedFileSystemPrivate(const InstanceHandle
& instance
,
22 PP_IsolatedFileSystemType_Private type
);
23 virtual ~IsolatedFileSystemPrivate();
25 int32_t Open(const CompletionCallbackWithOutput
<pp::FileSystem
>& cc
);
28 PP_Instance instance_
;
29 PP_IsolatedFileSystemType_Private type_
;
34 #endif // PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_