Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: webkit/plugins/ppapi/ppb_url_response_info_impl.h

Issue 10993031: Refactor the URLResponseInfo to use new design (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.cc ('k') | webkit/plugins/ppapi/ppb_url_response_info_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.cc ('k') | webkit/plugins/ppapi/ppb_url_response_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698