OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 PPAPI_THUNK_PPB_FILE_REF_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_FILE_REF_API_H_ |
6 #define PPAPI_THUNK_PPB_FILE_REF_API_H_ | 6 #define PPAPI_THUNK_PPB_FILE_REF_API_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/linked_ptr.h" | |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "ppapi/c/ppb_file_ref.h" | 13 #include "ppapi/c/ppb_file_ref.h" |
15 #include "ppapi/shared_impl/file_ref_create_info.h" | 14 #include "ppapi/shared_impl/file_ref_create_info.h" |
16 #include "ppapi/thunk/ppapi_thunk_export.h" | 15 #include "ppapi/thunk/ppapi_thunk_export.h" |
17 | 16 |
18 namespace ppapi { | 17 namespace ppapi { |
19 | 18 |
20 struct FileRefCreateInfo; | 19 struct FileRefCreateInfo; |
21 class TrackedCallback; | 20 class TrackedCallback; |
22 | 21 |
(...skipping 26 matching lines...) Expand all Loading... |
49 virtual const FileRefCreateInfo& GetCreateInfo() const = 0; | 48 virtual const FileRefCreateInfo& GetCreateInfo() const = 0; |
50 | 49 |
51 // Private API | 50 // Private API |
52 virtual PP_Var GetAbsolutePath() = 0; | 51 virtual PP_Var GetAbsolutePath() = 0; |
53 }; | 52 }; |
54 | 53 |
55 } // namespace thunk | 54 } // namespace thunk |
56 } // namespace ppapi | 55 } // namespace ppapi |
57 | 56 |
58 #endif // PPAPI_THUNK_PPB_FILE_REF_API_H_ | 57 #endif // PPAPI_THUNK_PPB_FILE_REF_API_H_ |
OLD | NEW |