OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_URL_RESPONSE_INFO_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_RESPONSE_INFO_H_ |
| 7 |
| 8 #include "third_party/ppapi/c/ppb_url_response_info.h" |
| 9 #include "webkit/glue/plugins/pepper_resource.h" |
| 10 |
| 11 namespace pepper { |
| 12 |
| 13 class URLResponseInfo : public Resource { |
| 14 public: |
| 15 explicit URLResponseInfo(PluginModule* module); |
| 16 virtual ~URLResponseInfo(); |
| 17 |
| 18 // Returns a pointer to the interface implementing PPB_URLResponseInfo that |
| 19 // is exposed to the plugin. |
| 20 static const PPB_URLResponseInfo* GetInterface(); |
| 21 |
| 22 // Resource overrides. |
| 23 URLResponseInfo* AsURLResponseInfo() { return this; } |
| 24 |
| 25 // PPB_URLResponseInfo implementation. |
| 26 PP_Var GetProperty(PP_URLResponseProperty property); |
| 27 }; |
| 28 |
| 29 } // namespace pepper |
| 30 |
| 31 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_RESPONSE_INFO_H_ |
OLD | NEW |