1// Copyright (c) 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_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_
6#define PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_
7
8#include "ppapi/c/pp_instance.h"
9#include "ppapi/cpp/completion_callback.h"
10#include "ppapi/cpp/file_system.h"
11#include "ppapi/cpp/instance_handle.h"
12
13namespace pp {
14
15class CompletionCallback;
16
17class ExtCrxFileSystemPrivate {
18 public:
19  ExtCrxFileSystemPrivate();
20  explicit ExtCrxFileSystemPrivate(const InstanceHandle& instance);
21  virtual ~ExtCrxFileSystemPrivate();
22
23  int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc);
24
25 private:
26  PP_Instance instance_;
27};
28
29}  // namespace pp
30
31#endif  // PPAPI_CPP_PRIVATE_EXTENSION_CRX_FILE_SYSTEM_PRIVATE_H_
32