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

Side by Side Diff: net/url_request/url_request_job_manager.cc

Issue 115870: Reduce header dependencies in net/ (Closed)
Patch Set: Created 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_request_job_manager.h" 5 #include "net/url_request/url_request_job_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "net/base/load_flags.h" 11 #include "net/base/load_flags.h"
12 #include "net/base/net_errors.h"
12 #include "net/url_request/url_request_about_job.h" 13 #include "net/url_request/url_request_about_job.h"
13 #include "net/url_request/url_request_error_job.h" 14 #include "net/url_request/url_request_error_job.h"
14 #include "net/url_request/url_request_file_job.h" 15 #include "net/url_request/url_request_file_job.h"
15 #if defined(OS_WIN) 16 #if defined(OS_WIN)
16 #include "net/url_request/url_request_ftp_job.h" 17 #include "net/url_request/url_request_ftp_job.h"
17 #else 18 #else
18 // TODO(playmobil): Implement on non-windows platforms. 19 // TODO(playmobil): Implement on non-windows platforms.
19 #endif 20 #endif
20 #include "net/url_request/url_request_http_job.h" 21 #include "net/url_request/url_request_http_job.h"
21 #include "net/url_request/url_request_view_cache_job.h" 22 #include "net/url_request/url_request_view_cache_job.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 DCHECK(IsAllowedThread()); 203 DCHECK(IsAllowedThread());
203 #endif 204 #endif
204 205
205 AutoLock locked(lock_); 206 AutoLock locked(lock_);
206 207
207 InterceptorList::iterator i = 208 InterceptorList::iterator i =
208 std::find(interceptors_.begin(), interceptors_.end(), interceptor); 209 std::find(interceptors_.begin(), interceptors_.end(), interceptor);
209 DCHECK(i != interceptors_.end()); 210 DCHECK(i != interceptors_.end());
210 interceptors_.erase(i); 211 interceptors_.erase(i);
211 } 212 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698