| 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_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ | 6 #define WEBKIT_GLUE_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 "third_party/WebKit/Source/Platform/chromium/public/WebURLResponse.h" | 12 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 13 #include "webkit/glue/webkit_glue_export.h" | 13 #include "webkit/glue/webkit_glue_export.h" |
| 14 | 14 |
| 15 namespace webkit_glue { | 15 namespace webkit_glue { |
| 16 | 16 |
| 17 // Base class for Chrome's implementation of the "extra data". | 17 // Base class for Chrome's implementation of the "extra data". |
| 18 class WEBKIT_GLUE_EXPORT WebURLResponseExtraDataImpl : | 18 class WEBKIT_GLUE_EXPORT WebURLResponseExtraDataImpl : |
| 19 public NON_EXPORTED_BASE(WebKit::WebURLResponse::ExtraData) { | 19 public NON_EXPORTED_BASE(WebKit::WebURLResponse::ExtraData) { |
| 20 public: | 20 public: |
| 21 explicit WebURLResponseExtraDataImpl( | 21 explicit WebURLResponseExtraDataImpl( |
| 22 const std::string& npn_negotiated_protocol); | 22 const std::string& npn_negotiated_protocol); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 bool was_fetched_via_spdy_; | 76 bool was_fetched_via_spdy_; |
| 77 bool was_npn_negotiated_; | 77 bool was_npn_negotiated_; |
| 78 bool was_alternate_protocol_available_; | 78 bool was_alternate_protocol_available_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); | 80 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace webkit_glue | 83 } // namespace webkit_glue |
| 84 | 84 |
| 85 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ | 85 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ |
| OLD | NEW |