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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

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 | « content/child/web_url_loader_impl_unittest.cc ('k') | third_party/WebKit/public/platform/WebURLResponse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 37cb7efd45267e787428643bc033e131c43a66e5..0ee9c2188c0103292fafc4003cb4696e0add2dff 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -425,7 +425,7 @@ void WebURLResponse::setRemotePort(unsigned short remotePort) {
m_resourceResponse->setRemotePort(remotePort);
}
-long long WebURLResponse::encodedDataLength() const {
+long long WebURLResponse::encodedDataLengthForTesting() const {
return m_resourceResponse->encodedDataLength();
}
@@ -433,7 +433,7 @@ void WebURLResponse::addToEncodedDataLength(long long length) {
m_resourceResponse->addToEncodedDataLength(length);
}
-long long WebURLResponse::encodedBodyLength() const {
+long long WebURLResponse::encodedBodyLengthForTesting() const {
return m_resourceResponse->encodedBodyLength();
}
@@ -441,7 +441,7 @@ void WebURLResponse::addToEncodedBodyLength(long long length) {
m_resourceResponse->addToEncodedBodyLength(length);
}
-long long WebURLResponse::decodedBodyLength() const {
+long long WebURLResponse::decodedBodyLengthForTesting() const {
return m_resourceResponse->decodedBodyLength();
}
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | third_party/WebKit/public/platform/WebURLResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698