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

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

Issue 2429063002: Implement nextHopProtocol in PerformanceResourceTiming and PerformanceNavigationTiming.
Patch Set: Created 4 years, 2 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // This indicates the location of a downloaded response if the 274 // This indicates the location of a downloaded response if the
275 // WebURLRequest had the downloadToFile flag set to true. This file path 275 // WebURLRequest had the downloadToFile flag set to true. This file path
276 // remains valid for the lifetime of the WebURLLoader used to create it. 276 // remains valid for the lifetime of the WebURLLoader used to create it.
277 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const; 277 BLINK_PLATFORM_EXPORT WebString downloadFilePath() const;
278 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&); 278 BLINK_PLATFORM_EXPORT void setDownloadFilePath(const WebString&);
279 279
280 // Remote IP address of the socket which fetched this resource. 280 // Remote IP address of the socket which fetched this resource.
281 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; 281 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const;
282 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); 282 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&);
283 283
284 // ALPN negotiated protocol of the socket which fetched this resource.
285 BLINK_PLATFORM_EXPORT WebString alpnNegotiatedProtocol() const;
286 BLINK_PLATFORM_EXPORT void setALPNNegotiatedProtocol(const WebString&);
287
284 // Remote port number of the socket which fetched this resource. 288 // Remote port number of the socket which fetched this resource.
285 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; 289 BLINK_PLATFORM_EXPORT unsigned short remotePort() const;
286 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); 290 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short);
287 291
288 // Original size of the response before decompression. 292 // Original size of the response before decompression.
289 BLINK_PLATFORM_EXPORT long long encodedDataLength() const; 293 BLINK_PLATFORM_EXPORT long long encodedDataLength() const;
290 BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long); 294 BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long);
291 295
292 // Original size of the response body before decompression. 296 // Original size of the response body before decompression.
293 BLINK_PLATFORM_EXPORT long long encodedBodyLength() const; 297 BLINK_PLATFORM_EXPORT long long encodedBodyLength() const;
(...skipping 29 matching lines...) Expand all
323 // instance it contains. 327 // instance it contains.
324 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 328 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
325 329
326 // Should never be null. 330 // Should never be null.
327 ResourceResponse* m_resourceResponse; 331 ResourceResponse* m_resourceResponse;
328 }; 332 };
329 333
330 } // namespace blink 334 } // namespace blink
331 335
332 #endif 336 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698