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_URL_LOADER_API_H_ | 5 #ifndef PPAPI_THUNK_URL_LOADER_API_H_ |
6 #define PPAPI_THUNK_URL_LOADER_API_H_ | 6 #define PPAPI_THUNK_URL_LOADER_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/ppb_url_loader.h" | 11 #include "ppapi/c/ppb_url_loader.h" |
10 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" | 12 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" |
11 | 13 |
12 namespace ppapi { | 14 namespace ppapi { |
13 | 15 |
14 class TrackedCallback; | 16 class TrackedCallback; |
15 struct URLRequestInfoData; | 17 struct URLRequestInfoData; |
16 struct URLResponseInfoData; | 18 struct URLResponseInfoData; |
17 | 19 |
(...skipping 30 matching lines...) Expand all Loading... |
48 // Trusted API. | 50 // Trusted API. |
49 virtual void GrantUniversalAccess() = 0; | 51 virtual void GrantUniversalAccess() = 0; |
50 virtual void RegisterStatusCallback( | 52 virtual void RegisterStatusCallback( |
51 PP_URLLoaderTrusted_StatusCallback cb) = 0; | 53 PP_URLLoaderTrusted_StatusCallback cb) = 0; |
52 }; | 54 }; |
53 | 55 |
54 } // namespace thunk | 56 } // namespace thunk |
55 } // namespace ppapi | 57 } // namespace ppapi |
56 | 58 |
57 #endif // PPAPI_THUNK_URL_LOADER_API_H_ | 59 #endif // PPAPI_THUNK_URL_LOADER_API_H_ |
OLD | NEW |