OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBRESPONSEIMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBRESPONSEIMPL_H_ |
6 #define WEBKIT_GLUE_WEBRESPONSEIMPL_H__ | 6 #define WEBKIT_GLUE_WEBRESPONSEIMPL_H_ |
7 | 7 |
8 #include <string> | |
9 | |
10 #include "googleurl/src/gurl.h" | |
11 #include "webkit/glue/glue_util.h" | 8 #include "webkit/glue/glue_util.h" |
12 #include "webkit/glue/webresponse.h" | 9 #include "webkit/glue/webresponse.h" |
13 | 10 |
14 #include "ResourceResponse.h" | 11 #include "ResourceResponse.h" |
15 | 12 |
16 class WebResponseImpl : public WebResponse { | 13 class WebResponseImpl : public WebResponse { |
17 public: | 14 public: |
18 WebResponseImpl() { } | 15 WebResponseImpl() { } |
19 explicit WebResponseImpl(const WebCore::ResourceResponse& response) | 16 explicit WebResponseImpl(const WebCore::ResourceResponse& response) |
20 : response_(response) { } | 17 : response_(response) { } |
(...skipping 20 matching lines...) Expand all Loading... |
41 virtual bool IsContentFiltered() const { | 38 virtual bool IsContentFiltered() const { |
42 return response_.isContentFiltered(); | 39 return response_.isContentFiltered(); |
43 } | 40 } |
44 | 41 |
45 private: | 42 private: |
46 WebCore::ResourceResponse response_; | 43 WebCore::ResourceResponse response_; |
47 | 44 |
48 DISALLOW_EVIL_CONSTRUCTORS(WebResponseImpl); | 45 DISALLOW_EVIL_CONSTRUCTORS(WebResponseImpl); |
49 }; | 46 }; |
50 | 47 |
51 #endif // #ifndef WEBKIT_GLUE_WEBRESPONSEIMPL_H__ | 48 #endif // #ifndef WEBKIT_GLUE_WEBRESPONSEIMPL_H_ |
52 | |
OLD | NEW |