OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_FILE_REF_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_FILE_REF_H_ |
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_FILE_REF_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_FILE_REF_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "third_party/ppapi/c/dev/ppb_file_ref_dev.h" | 11 #include "ppapi/c/dev/ppb_file_ref_dev.h" |
12 #include "webkit/glue/plugins/pepper_resource.h" | 12 #include "webkit/glue/plugins/pepper_resource.h" |
13 | 13 |
14 namespace pepper { | 14 namespace pepper { |
15 | 15 |
16 class FileSystem; | 16 class FileSystem; |
17 class PluginInstance; | 17 class PluginInstance; |
18 class PluginModule; | 18 class PluginModule; |
19 | 19 |
20 class FileRef : public Resource { | 20 class FileRef : public Resource { |
21 public: | 21 public: |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 private: | 54 private: |
55 scoped_refptr<FileSystem> file_system_; | 55 scoped_refptr<FileSystem> file_system_; |
56 std::string virtual_path_; // UTF-8 encoded | 56 std::string virtual_path_; // UTF-8 encoded |
57 FilePath system_path_; | 57 FilePath system_path_; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace pepper | 60 } // namespace pepper |
61 | 61 |
62 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_FILE_REF_H_ | 62 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_FILE_REF_H_ |
OLD | NEW |