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

Unified Diff: net/url_request/test_url_fetcher_factory.h

Issue 2035293002: Remove URLRequest::GetResponseCookies and URLRequestJob::GetResponseCookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments rogerta Created 4 years, 6 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
« no previous file with comments | « net/http/http_response_headers.cc ('k') | net/url_request/test_url_fetcher_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/test_url_fetcher_factory.h
diff --git a/net/url_request/test_url_fetcher_factory.h b/net/url_request/test_url_fetcher_factory.h
index 8f345f5c971a99ca5d579af52c6bb4afc423745d..e1c9e9b6856c636653a35de6d597a9180eb19479 100644
--- a/net/url_request/test_url_fetcher_factory.h
+++ b/net/url_request/test_url_fetcher_factory.h
@@ -149,7 +149,6 @@ class TestURLFetcher : public URLFetcher {
const GURL& GetURL() const override;
const URLRequestStatus& GetStatus() const override;
int GetResponseCode() const override;
- const ResponseCookies& GetCookies() const override;
void ReceivedContentWasMalformed() override;
// Override response access functions to return fake data.
bool GetResponseAsString(std::string* out_response_string) const override;
@@ -187,7 +186,6 @@ class TestURLFetcher : public URLFetcher {
void set_response_code(int response_code) {
fake_response_code_ = response_code;
}
- void set_cookies(const ResponseCookies& c) { fake_cookies_ = c; }
void set_was_fetched_via_proxy(bool flag);
void set_was_cached(bool flag);
void set_response_headers(scoped_refptr<HttpResponseHeaders> headers);
@@ -225,7 +223,6 @@ class TestURLFetcher : public URLFetcher {
GURL fake_url_;
URLRequestStatus fake_status_;
int fake_response_code_;
- ResponseCookies fake_cookies_;
ResponseDestinationType fake_response_destination_;
std::string fake_response_string_;
base::FilePath fake_response_file_path_;
« no previous file with comments | « net/http/http_response_headers.cc ('k') | net/url_request/test_url_fetcher_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698