Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: webkit/glue/weburlresponse_extradata_impl.h

Issue 14720012: Relanding this as the previous attempt failed due to build errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/weburlrequest_extradata_impl.h ('k') | webkit/plugins/npapi/plugin_constants_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 : public WebKit::WebURLResponse::ExtraData {
19 : NON_EXPORTED_BASE(public WebKit::WebURLResponse::ExtraData) {
20 public: 18 public:
21 explicit WebURLResponseExtraDataImpl( 19 explicit WebURLResponseExtraDataImpl(
22 const std::string& npn_negotiated_protocol); 20 const std::string& npn_negotiated_protocol);
23 virtual ~WebURLResponseExtraDataImpl(); 21 virtual ~WebURLResponseExtraDataImpl();
24 22
25 const std::string& npn_negotiated_protocol() const { 23 const std::string& npn_negotiated_protocol() const {
26 return npn_negotiated_protocol_; 24 return npn_negotiated_protocol_;
27 } 25 }
28 26
29 // Flag whether this request was loaded via an explicit proxy 27 // Flag whether this request was loaded via an explicit proxy
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool was_fetched_via_spdy_; 74 bool was_fetched_via_spdy_;
77 bool was_npn_negotiated_; 75 bool was_npn_negotiated_;
78 bool was_alternate_protocol_available_; 76 bool was_alternate_protocol_available_;
79 77
80 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); 78 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
81 }; 79 };
82 80
83 } // namespace webkit_glue 81 } // namespace webkit_glue
84 82
85 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_ 83 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/weburlrequest_extradata_impl.h ('k') | webkit/plugins/npapi/plugin_constants_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698