summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 21:39:13 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-03 21:39:13 +0000
commite73acd56ff87ba8c6ed0865305f504fe6d61a8ca (patch)
treedcc15a0da431951a3b20d45c580719af4bd14c67 /net/url_request/url_request.h
parentf2b50aacbeaf43c61e8b173e73f991f34d1f2968 (diff)
downloadchromium_src-e73acd56ff87ba8c6ed0865305f504fe6d61a8ca.zip
chromium_src-e73acd56ff87ba8c6ed0865305f504fe6d61a8ca.tar.gz
chromium_src-e73acd56ff87ba8c6ed0865305f504fe6d61a8ca.tar.bz2
Changes to have chrome building with net.dll
BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7056049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index f04cef2..bf1cb84 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -561,9 +561,9 @@ class NET_API URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
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.