Chromium Code Reviews| 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/Source/Platform/chromium/public/WebURLResponse.h" |
| 13 #include "webkit/glue/webkit_glue_export.h" | |
| 14 | 13 |
| 15 namespace webkit_glue { | 14 namespace webkit_glue { |
| 16 | 15 |
| 17 // Base class for Chrome's implementation of the "extra data". | 16 // Base class for Chrome's implementation of the "extra data". |
| 18 class WEBKIT_GLUE_EXPORT WebURLResponseExtraDataImpl | 17 class WebURLResponseExtraDataImpl |
| 19 : NON_EXPORTED_BASE(public WebKit::WebURLResponse::ExtraData) { | 18 : NON_EXPORTED_BASE(public WebKit::WebURLResponse::ExtraData) { |
|
jamesr
2013/05/15 20:42:47
ditto
ananta
2013/05/15 20:53:34
Done.
| |
| 20 public: | 19 public: |
| 21 explicit WebURLResponseExtraDataImpl( | 20 explicit WebURLResponseExtraDataImpl( |
| 22 const std::string& npn_negotiated_protocol); | 21 const std::string& npn_negotiated_protocol); |
| 23 virtual ~WebURLResponseExtraDataImpl(); | 22 virtual ~WebURLResponseExtraDataImpl(); |
| 24 | 23 |
| 25 const std::string& npn_negotiated_protocol() const { | 24 const std::string& npn_negotiated_protocol() const { |
| 26 return npn_negotiated_protocol_; | 25 return npn_negotiated_protocol_; |
| 27 } | 26 } |
| 28 | 27 |
| 29 // Flag whether this request was loaded via an explicit proxy | 28 // Flag whether this request was loaded via an explicit proxy |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 76 bool was_fetched_via_spdy_; | 75 bool was_fetched_via_spdy_; |
| 77 bool was_npn_negotiated_; | 76 bool was_npn_negotiated_; |
| 78 bool was_alternate_protocol_available_; | 77 bool was_alternate_protocol_available_; |
| 79 | 78 |
| 80 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); | 79 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 } // namespace webkit_glue | 82 } // namespace webkit_glue |
| 84 | 83 |
| 85 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ | 84 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ |
| OLD | NEW |