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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/glue_serialize_unittest.cc ('k') | webkit/glue/resource_request_body.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 // The intent of this file is to provide a type-neutral abstraction between 5 // The intent of this file is to provide a type-neutral abstraction between
6 // Chrome and WebKit for resource loading. This pure-virtual interface is 6 // Chrome and WebKit for resource loading. This pure-virtual interface is
7 // implemented by the embedder. 7 // implemented by the embedder.
8 // 8 //
9 // One of these objects will be created by WebKit for each request. WebKit 9 // One of these objects will be created by WebKit for each request. WebKit
10 // will own the pointer to the bridge, and will delete it when the request is 10 // will own the pointer to the bridge, and will delete it when the request is
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ResourceLoadTimingInfo load_timing; 174 ResourceLoadTimingInfo load_timing;
175 175
176 // Actual request and response headers, as obtained from the network stack. 176 // Actual request and response headers, as obtained from the network stack.
177 // Only present if request had LOAD_REPORT_RAW_HEADERS in load_flags, and 177 // Only present if request had LOAD_REPORT_RAW_HEADERS in load_flags, and
178 // requesting renderer had CanReadRowCookies permission. 178 // requesting renderer had CanReadRowCookies permission.
179 scoped_refptr<ResourceDevToolsInfo> devtools_info; 179 scoped_refptr<ResourceDevToolsInfo> devtools_info;
180 180
181 // The path to a file that will contain the response body. It may only 181 // The path to a file that will contain the response body. It may only
182 // contain a portion of the response body at the time that the ResponseInfo 182 // contain a portion of the response body at the time that the ResponseInfo
183 // becomes available. 183 // becomes available.
184 FilePath download_file_path; 184 base::FilePath download_file_path;
185 185
186 // True if the response was delivered using SPDY. 186 // True if the response was delivered using SPDY.
187 bool was_fetched_via_spdy; 187 bool was_fetched_via_spdy;
188 188
189 // True if the response was delivered after NPN is negotiated. 189 // True if the response was delivered after NPN is negotiated.
190 bool was_npn_negotiated; 190 bool was_npn_negotiated;
191 191
192 // True if response could use alternate protocol. However, browser will 192 // True if response could use alternate protocol. However, browser will
193 // ignore the alternate protocol when spdy is not enabled on browser side. 193 // ignore the alternate protocol when spdy is not enabled on browser side.
194 bool was_alternate_protocol_available; 194 bool was_alternate_protocol_available;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // methods may be called to construct the body of the request. 384 // methods may be called to construct the body of the request.
385 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); 385 WEBKIT_GLUE_EXPORT ResourceLoaderBridge();
386 386
387 private: 387 private:
388 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); 388 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge);
389 }; 389 };
390 390
391 } // namespace webkit_glue 391 } // namespace webkit_glue
392 392
393 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ 393 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_
OLDNEW
« no previous file with comments | « webkit/glue/glue_serialize_unittest.cc ('k') | webkit/glue/resource_request_body.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698