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

Unified Diff: net/url_request/url_request.h

Issue 1913273003: Remove stack trace from URLFetcher / URLRequest for debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index b470d85c34f4e6da1d22b6cb7093e2daae2ae453..eb94da89088b9c5a4a2360cbd2593a3b1b859086 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -637,12 +637,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// due to HSTS. If so, |redirect_url| is rewritten to the new HTTPS URL.
bool GetHSTSRedirect(GURL* redirect_url) const;
- // NOTE(willchan): This is just temporary for debugging
eroman 2016/04/25 17:12:36 "temporary" :)
- // http://crbug.com/90971.
- // Allows to setting debug info into the URLRequest.
- void set_stack_trace(const base::debug::StackTrace& stack_trace);
- const base::debug::StackTrace* stack_trace() const;
-
void set_received_response_content_length(int64_t received_content_length) {
received_response_content_length_ = received_content_length;
}
@@ -872,8 +866,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// The proxy server used for this request, if any.
HostPortPair proxy_server_;
- std::unique_ptr<const base::debug::StackTrace> stack_trace_;
-
DISALLOW_COPY_AND_ASSIGN(URLRequest);
};

Powered by Google App Engine
This is Rietveld 408576698