Home | History | Annotate | Download | only in thunk
      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.
      4 
      5 #ifndef PPAPI_THUNK_PPB_ISOLATED_FILE_SYSTEM_PRIVATE_API_H_
      6 #define PPAPI_THUNK_PPB_ISOLATED_FILE_SYSTEM_PRIVATE_API_H_
      7 
      8 #include "base/memory/ref_counted.h"
      9 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
     10 #include "ppapi/shared_impl/singleton_resource_id.h"
     11 #include "ppapi/shared_impl/tracked_callback.h"
     12 #include "ppapi/thunk/ppapi_thunk_export.h"
     13 
     14 namespace ppapi {
     15 
     16 class TrackedCallback;
     17 
     18 namespace thunk {
     19 
     20 class PPAPI_THUNK_EXPORT PPB_IsolatedFileSystem_Private_API {
     21  public:
     22   virtual ~PPB_IsolatedFileSystem_Private_API() {}
     23 
     24   virtual int32_t Open(PP_Instance instance,
     25                        PP_IsolatedFileSystemType_Private type,
     26                        PP_Resource* file_system,
     27                        scoped_refptr<TrackedCallback> callback) = 0;
     28 
     29   static const SingletonResourceID kSingletonResourceID =
     30       ISOLATED_FILESYSTEM_SINGLETON_ID;
     31 };
     32 
     33 }  // namespace thunk
     34 }  // namespace ppapi
     35 
     36 #endif  // PPAPI_THUNK_PPB_ISOLATED_FILE_SYSTEM_PRIVATE_API_H_
     37