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

Side by Side Diff: content/child/weburlresponse_extradata_impl.h

Issue 394403002: Move weburlresponse_extradata_impl.* from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 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 | « content/child/web_url_loader_impl.cc ('k') | content/child/weburlresponse_extradata_impl.cc » ('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_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_
6 #define WEBKIT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_ 6 #define CONTENT_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 "content/common/content_export.h"
12 #include "net/http/http_response_info.h" 13 #include "net/http/http_response_info.h"
13 #include "third_party/WebKit/public/platform/WebURLResponse.h" 14 #include "third_party/WebKit/public/platform/WebURLResponse.h"
14 #include "webkit/child/webkit_child_export.h"
15 15
16 namespace webkit_glue { 16 namespace content {
17 17
18 // Base class for Chrome's implementation of the "extra data". 18 class CONTENT_EXPORT WebURLResponseExtraDataImpl :
19 class WEBKIT_CHILD_EXPORT WebURLResponseExtraDataImpl :
20 public NON_EXPORTED_BASE(blink::WebURLResponse::ExtraData) { 19 public NON_EXPORTED_BASE(blink::WebURLResponse::ExtraData) {
21 public: 20 public:
22 explicit WebURLResponseExtraDataImpl( 21 explicit WebURLResponseExtraDataImpl(
23 const std::string& npn_negotiated_protocol); 22 const std::string& npn_negotiated_protocol);
24 virtual ~WebURLResponseExtraDataImpl(); 23 virtual ~WebURLResponseExtraDataImpl();
25 24
26 const std::string& npn_negotiated_protocol() const { 25 const std::string& npn_negotiated_protocol() const {
27 return npn_negotiated_protocol_; 26 return npn_negotiated_protocol_;
28 } 27 }
29 28
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 bool is_ftp_directory_listing_; 83 bool is_ftp_directory_listing_;
85 bool was_fetched_via_proxy_; 84 bool was_fetched_via_proxy_;
86 bool was_fetched_via_spdy_; 85 bool was_fetched_via_spdy_;
87 bool was_npn_negotiated_; 86 bool was_npn_negotiated_;
88 net::HttpResponseInfo::ConnectionInfo connection_info_; 87 net::HttpResponseInfo::ConnectionInfo connection_info_;
89 bool was_alternate_protocol_available_; 88 bool was_alternate_protocol_available_;
90 89
91 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl); 90 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
92 }; 91 };
93 92
94 } // namespace webkit_glue 93 } // namespace content
95 94
96 #endif // WEBKIT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_ 95 #endif // CONTENT_CHILD_WEBURLRESPONSE_EXTRADATA_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/child/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698