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

Unified Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 2483793002: Mark WebURLResponse data size getters as ForTesting (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebURLResponse.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLResponse.h
diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h
index a78f7776ca34e43bfa574bff91fc1d722726d194..b9ec045d6bd274f03f461b9dc939e4d8d11bacd6 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -288,15 +288,15 @@ class WebURLResponse {
BLINK_PLATFORM_EXPORT void setRemotePort(unsigned short);
// Original size of the response before decompression.
- BLINK_PLATFORM_EXPORT long long encodedDataLength() const;
+ BLINK_PLATFORM_EXPORT long long encodedDataLengthForTesting() const;
BLINK_PLATFORM_EXPORT void addToEncodedDataLength(long long);
// Original size of the response body before decompression.
- BLINK_PLATFORM_EXPORT long long encodedBodyLength() const;
+ BLINK_PLATFORM_EXPORT long long encodedBodyLengthForTesting() const;
BLINK_PLATFORM_EXPORT void addToEncodedBodyLength(long long);
// Size of the response body after removing any content encoding.
- BLINK_PLATFORM_EXPORT long long decodedBodyLength() const;
+ BLINK_PLATFORM_EXPORT long long decodedBodyLengthForTesting() const;
BLINK_PLATFORM_EXPORT void addToDecodedBodyLength(long long);
// Extra data associated with the underlying resource response. Resource
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebURLResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698