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

Side by Side Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2429063002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming.
Patch Set: fallback to hq when quic is contained Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // This indicates the location of a downloaded response if the 258 // This indicates the location of a downloaded response if the
259 // WebURLRequest had the downloadToFile flag set to true. This file path 259 // WebURLRequest had the downloadToFile flag set to true. This file path
260 // remains valid for the lifetime of the WebURLLoader used to create it. 260 // remains valid for the lifetime of the WebURLLoader used to create it.
261 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; 261 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const;
262 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); 262 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&);
263 263
264 // Remote IP address of the socket which fetched this resource. 264 // Remote IP address of the socket which fetched this resource.
265 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; 265 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const;
266 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); 266 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&);
267 267
268 // ALPN negotiated protocol of the socket which fetched this resource.
269 BLINK_PLATFORM_EXPORT WebString alpnNegotiatedProtocol() const;
270 BLINK_PLATFORM_EXPORT void setALPNNegotiatedProtocol(const WebString&);
271
272 // Information about the type of connection used to fetch this resource.
273 BLINK_PLATFORM_EXPORT WebString connectionInfo() const;
274 BLINK_PLATFORM_EXPORT void setConnectionInfo(const WebString&);
275
268 // Remote port number of the socket which fetched this resource. 276 // Remote port number of the socket which fetched this resource.
269 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; 277 BLINK_PLATFORM_EXPORT unsigned short remotePort() const;
270 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); 278 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short);
271 279
272 // Original size of the response before decompression. 280 // Original size of the response before decompression.
273 BLINK_PLATFORM_EXPORT void setEncodedDataLength(long long); 281 BLINK_PLATFORM_EXPORT void setEncodedDataLength(long long);
274 282
275 // Original size of the response body before decompression. 283 // Original size of the response body before decompression.
276 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long); 284 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long);
277 285
(...skipping 26 matching lines...) Expand all
304 // instance it contains. 312 // instance it contains.
305 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 313 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
306 314
307 // Should never be null. 315 // Should never be null.
308 ResourceResponse* m_resourceResponse; 316 ResourceResponse* m_resourceResponse;
309 }; 317 };
310 318
311 } // namespace blink 319 } // namespace blink
312 320
313 #endif 321 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698