Index: webkit/plugins/ppapi/ppb_url_response_info_impl.h |
diff --git a/webkit/plugins/ppapi/ppb_url_response_info_impl.h b/webkit/plugins/ppapi/ppb_url_response_info_impl.h |
deleted file mode 100644 |
index 963999232318a50cb2a123461ee2381c49f0fff0..0000000000000000000000000000000000000000 |
--- a/webkit/plugins/ppapi/ppb_url_response_info_impl.h |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_IMPL_H_ |
-#define WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_IMPL_H_ |
- |
-#include <string> |
- |
-#include "base/basictypes.h" |
-#include "base/compiler_specific.h" |
-#include "ppapi/c/ppb_url_response_info.h" |
-#include "ppapi/shared_impl/resource.h" |
-#include "ppapi/thunk/ppb_url_response_info_api.h" |
- |
-namespace WebKit { |
-class WebURLResponse; |
-} |
- |
-namespace webkit { |
-namespace ppapi { |
- |
-class PPB_FileRef_Impl; |
- |
-class PPB_URLResponseInfo_Impl |
- : public ::ppapi::Resource, |
- public ::ppapi::thunk::PPB_URLResponseInfo_API { |
- public: |
- explicit PPB_URLResponseInfo_Impl(PP_Instance instance); |
- virtual ~PPB_URLResponseInfo_Impl(); |
- |
- bool Initialize(const WebKit::WebURLResponse& response); |
- |
- // Resource overrides. |
- virtual PPB_URLResponseInfo_API* AsPPB_URLResponseInfo_API() OVERRIDE; |
- |
- // PPB_URLResponseInfo_API implementation. |
- virtual PP_Var GetProperty(PP_URLResponseProperty property) OVERRIDE; |
- virtual PP_Resource GetBodyAsFileRef() OVERRIDE; |
- |
- PPB_FileRef_Impl* body() { return body_; } |
- std::string redirect_url() { return redirect_url_; } |
- |
- private: |
- std::string url_; |
- std::string headers_; |
- int32_t status_code_; |
- std::string status_text_; |
- std::string redirect_url_; |
- scoped_refptr<PPB_FileRef_Impl> body_; |
- |
- DISALLOW_COPY_AND_ASSIGN(PPB_URLResponseInfo_Impl); |
-}; |
- |
-} // namespace ppapi |
-} // namespace webkit |
- |
-#endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_IMPL_H_ |