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

Unified Diff: net/url_request/url_request.h

Issue 7056049: Changes to have chrome building with net.dll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/proxy/proxy_service.h ('k') | net/url_request/url_request_netlog_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
===================================================================
--- net/url_request/url_request.h (revision 87744)
+++ net/url_request/url_request.h (working copy)
@@ -561,9 +561,9 @@
priority_ = priority;
}
-#ifdef UNIT_TEST
+ // This method is intended only for unit tests, but it is being used by
+ // unit tests outside of net :(.
URLRequestJob* job() { return job_; }
-#endif
protected:
// Allow the URLRequestJob class to control the is_pending() flag.
« no previous file with comments | « net/proxy/proxy_service.h ('k') | net/url_request/url_request_netlog_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698