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: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2521503002: Rename ResourceResponse::addToEncodedDataSize() to setEncodedDataSize() (Closed)
Patch Set: fix Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 // Remote IP address of the socket which fetched this resource. 282 // Remote IP address of the socket which fetched this resource.
283 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const; 283 BLINK_PLATFORM_EXPORT WebString remoteIPAddress() const;
284 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&); 284 BLINK_PLATFORM_EXPORT void setRemoteIPAddress(const WebString&);
285 285
286 // Remote port number of the socket which fetched this resource. 286 // Remote port number of the socket which fetched this resource.
287 BLINK_PLATFORM_EXPORT unsigned short remotePort() const; 287 BLINK_PLATFORM_EXPORT unsigned short remotePort() const;
288 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short); 288 BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short);
289 289
290 // Original size of the response before decompression. 290 // Original size of the response before decompression.
291 BLINK_PLATFORM_EXPORT long long encodedDataLengthForTesting() const; 291 BLINK_PLATFORM_EXPORT long long encodedDataLengthForTesting() const;
292 BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long); 292 BLINK_PLATFORM_EXPORT void setEncodedDataLength(long long);
293 293
294 // Original size of the response body before decompression. 294 // Original size of the response body before decompression.
295 BLINK_PLATFORM_EXPORT long long encodedBodyLengthForTesting() const; 295 BLINK_PLATFORM_EXPORT long long encodedBodyLengthForTesting() const;
296 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long); 296 BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long);
297 297
298 // Size of the response body after removing any content encoding. 298 // Size of the response body after removing any content encoding.
299 BLINK_PLATFORM_EXPORT long long decodedBodyLengthForTesting() const; 299 BLINK_PLATFORM_EXPORT long long decodedBodyLengthForTesting() const;
300 BLINK_PLATFORM_EXPORT void addToDecodedBodyLength(long long); 300 BLINK_PLATFORM_EXPORT void addToDecodedBodyLength(long long);
301 301
302 // Extra data associated with the underlying resource response. Resource 302 // Extra data associated with the underlying resource response. Resource
(...skipping 22 matching lines...) Expand all
325 // instance it contains. 325 // instance it contains.
326 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; 326 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse;
327 327
328 // Should never be null. 328 // Should never be null.
329 ResourceResponse* m_resourceResponse; 329 ResourceResponse* m_resourceResponse;
330 }; 330 };
331 331
332 } // namespace blink 332 } // namespace blink
333 333
334 #endif 334 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698