| Index: net/url_request/url_request_job_manager.h
|
| diff --git a/net/url_request/url_request_job_manager.h b/net/url_request/url_request_job_manager.h
|
| index e4efcf5ad015729bf9c41bbb67d2a376c06ae360..ca9ada9e59015f153c520ec175eacca200df8ecc 100644
|
| --- a/net/url_request/url_request_job_manager.h
|
| +++ b/net/url_request/url_request_job_manager.h
|
| @@ -76,17 +76,7 @@ class URLRequestJobManager {
|
| URLRequestJobManager();
|
| ~URLRequestJobManager();
|
|
|
| - mutable base::Lock lock_;
|
| - FactoryMap factories_;
|
| - InterceptorList interceptors_;
|
| - bool enable_file_access_;
|
| -
|
| #ifndef NDEBUG
|
| - // We use this to assert that CreateJob and the registration functions all
|
| - // run on the same thread.
|
| - mutable base::PlatformThreadId allowed_thread_;
|
| - mutable bool allowed_thread_initialized_;
|
| -
|
| // The first guy to call this function sets the allowed thread. This way we
|
| // avoid needing to define that thread externally. Since we expect all
|
| // callers to be on the same thread, we don't worry about threads racing to
|
| @@ -110,8 +100,18 @@ class URLRequestJobManager {
|
| return true;
|
| #endif
|
| }
|
| +
|
| + // We use this to assert that CreateJob and the registration functions all
|
| + // run on the same thread.
|
| + mutable base::PlatformThreadId allowed_thread_;
|
| + mutable bool allowed_thread_initialized_;
|
| #endif
|
|
|
| + mutable base::Lock lock_;
|
| + FactoryMap factories_;
|
| + InterceptorList interceptors_;
|
| + bool enable_file_access_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(URLRequestJobManager);
|
| };
|
|
|
|
|