OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CPP_URL_RESPONSE_INFO_H_ | 5 #ifndef PPAPI_CPP_URL_RESPONSE_INFO_H_ |
6 #define PPAPI_CPP_URL_RESPONSE_INFO_H_ | 6 #define PPAPI_CPP_URL_RESPONSE_INFO_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/ppb_url_response_info.h" | 10 #include "ppapi/c/ppb_url_response_info.h" |
9 #include "ppapi/cpp/resource.h" | 11 #include "ppapi/cpp/resource.h" |
10 #include "ppapi/cpp/var.h" | 12 #include "ppapi/cpp/var.h" |
11 | 13 |
12 /// @file | 14 /// @file |
13 /// This file defines the API for examining URL responses. | 15 /// This file defines the API for examining URL responses. |
14 namespace pp { | 16 namespace pp { |
15 | 17 |
16 class FileRef; | 18 class FileRef; |
17 | 19 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 /// value if successful, <code>is_undefined Var</code> if an input parameter | 113 /// value if successful, <code>is_undefined Var</code> if an input parameter |
112 /// is invalid. | 114 /// is invalid. |
113 Var GetHeaders() const { | 115 Var GetHeaders() const { |
114 return GetProperty(PP_URLRESPONSEPROPERTY_HEADERS); | 116 return GetProperty(PP_URLRESPONSEPROPERTY_HEADERS); |
115 } | 117 } |
116 }; | 118 }; |
117 | 119 |
118 } // namespace pp | 120 } // namespace pp |
119 | 121 |
120 #endif // PPAPI_CPP_URL_RESPONSE_INFO_H_ | 122 #endif // PPAPI_CPP_URL_RESPONSE_INFO_H_ |
OLD | NEW |