OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBURLRESPONSE_EXTRADATA_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_ |
6 #define WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ | 6 #define WEBKIT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "net/http/http_response_info.h" | 12 #include "net/http/http_response_info.h" |
13 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 13 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
14 #include "webkit/common/webkit_common_export.h" | 14 #include "webkit/child/webkit_child_export.h" |
15 | 15 |
16 namespace webkit_glue { | 16 namespace webkit_glue { |
17 | 17 |
18 // Base class for Chrome's implementation of the "extra data". | 18 // Base class for Chrome's implementation of the "extra data". |
19 class WEBKIT_COMMON_EXPORT WebURLResponseExtraDataImpl : | 19 class WEBKIT_CHILD_EXPORT WebURLResponseExtraDataImpl : |
20 public NON_EXPORTED_BASE(WebKit::WebURLResponse::ExtraData) { | 20 public NON_EXPORTED_BASE(WebKit::WebURLResponse::ExtraData) { |
21 public: | 21 public: |
22 explicit WebURLResponseExtraDataImpl( | 22 explicit WebURLResponseExtraDataImpl( |
23 const std::string& npn_negotiated_protocol); | 23 const std::string& npn_negotiated_protocol); |
24 virtual ~WebURLResponseExtraDataImpl(); | 24 virtual ~WebURLResponseExtraDataImpl(); |
25 | 25 |
26 const std::string& npn_negotiated_protocol() const { | 26 const std::string& npn_negotiated_protocol() const { |
27 return npn_negotiated_protocol_; | 27 return npn_negotiated_protocol_; |
28 } | 28 } |
29 | 29 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 bool was_fetched_via_spdy_; | 86 bool was_fetched_via_spdy_; |
87 bool was_npn_negotiated_; | 87 bool was_npn_negotiated_; |
88 net::HttpResponseInfo::ConnectionInfo connection_info_; | 88 net::HttpResponseInfo::ConnectionInfo connection_info_; |
89 bool was_alternate_protocol_available_; | 89 bool was_alternate_protocol_available_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); | 91 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace webkit_glue | 94 } // namespace webkit_glue |
95 | 95 |
96 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ | 96 #endif // WEBKIT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_ |
OLD | NEW |