QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / ppapi / cpp / private / isolated_file_system_private.h
blob88213d6cf162469cb6e9cd6241d0eecb4b00831f
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"
14 namespace pp {
16 class CompletionCallback;
18 class IsolatedFileSystemPrivate {
19 public:
20 IsolatedFileSystemPrivate();
21 IsolatedFileSystemPrivate(const InstanceHandle& instance,
22 PP_IsolatedFileSystemType_Private type);
23 virtual ~IsolatedFileSystemPrivate();
25 int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc);
27 private:
28 PP_Instance instance_;
29 PP_IsolatedFileSystemType_Private type_;
32 } // namespace pp
34 #endif // PPAPI_CPP_PRIVATE_ISOLATED_FILE_SYSTEM_PRIVATE_H_