summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webresponse_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webresponse_impl.h')
-rw-r--r--webkit/glue/webresponse_impl.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/webkit/glue/webresponse_impl.h b/webkit/glue/webresponse_impl.h
deleted file mode 100644
index 47f097c..0000000
--- a/webkit/glue/webresponse_impl.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2006-2008 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_GLUE_WEBRESPONSEIMPL_H_
-#define WEBKIT_GLUE_WEBRESPONSEIMPL_H_
-
-#include "googleurl/src/gurl.h"
-#include "webkit/glue/glue_util.h"
-#include "webkit/glue/webresponse.h"
-
-#include "ResourceResponse.h"
-
-class WebResponseImpl : public WebResponse {
- public:
- WebResponseImpl() { }
- explicit WebResponseImpl(const WebCore::ResourceResponse& response)
- : response_(response) { }
-
- virtual ~WebResponseImpl() { }
-
- // Get the URL.
- virtual GURL GetURL() const {
- return webkit_glue::KURLToGURL(response_.url());
- }
-
- // Get the http status code.
- virtual int GetHttpStatusCode() const { return response_.httpStatusCode(); }
-
- virtual std::string GetMimeType() const {
- return webkit_glue::StringToStdString(response_.mimeType());
- }
-
- // Get the security info (state of the SSL connection).
- virtual std::string GetSecurityInfo() const {
- return webkit_glue::CStringToStdString(response_.getSecurityInfo());
- }
-
- void set_resource_response(const WebCore::ResourceResponse& response) {
- response_ = response;
- }
-
- virtual bool IsContentFiltered() const {
- return response_.isContentFiltered();
- }
-
- virtual int64 GetAppCacheID() const {
- return response_.getAppCacheID();
- }
-
- private:
- WebCore::ResourceResponse response_;
-
- DISALLOW_EVIL_CONSTRUCTORS(WebResponseImpl);
-};
-
-#endif // #ifndef WEBKIT_GLUE_WEBRESPONSEIMPL_H_