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

Unified Diff: ios/net/protocol_handler_util_unittest.mm

Issue 2827233005: Remove URLRequestJob::GetResponseCode implementations outside of net/. (Closed)
Patch Set: Oops 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 side-by-side diff with in-line comments
Download patch
Index: ios/net/protocol_handler_util_unittest.mm
diff --git a/ios/net/protocol_handler_util_unittest.mm b/ios/net/protocol_handler_util_unittest.mm
index 3c2d849e1501990d2b5ba820f9ea226f7e7fc63c..54a3c1bdcfe1dfe87371d9283b975c37f58a6544 100644
--- a/ios/net/protocol_handler_util_unittest.mm
+++ b/ios/net/protocol_handler_util_unittest.mm
@@ -39,7 +39,6 @@
namespace net {
namespace {
-const int kResponseCode = 200;
const char* kTextHtml = "text/html";
const char* kTextPlain = "text/plain";
const char* kAscii = "US-ASCII";
@@ -87,9 +86,6 @@ class HeadersURLRequestJob : public URLRequestJob {
info->headers = new HttpResponseHeaders(header_string);
}
- int GetResponseCode() const override {
- return kResponseCode;
- }
protected:
~HeadersURLRequestJob() override {}

Powered by Google App Engine
This is Rietveld 408576698