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

Side by Side Diff: net/proxy/multi_threaded_proxy_resolver.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_auth_gssapi_posix.cc ('k') | net/proxy/proxy_config_service_linux_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/proxy/multi_threaded_proxy_resolver.h" 5 #include "net/proxy/multi_threaded_proxy_resolver.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/thread.h" 10 #include "base/threading/thread.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "net/base/net_log.h" 12 #include "net/base/net_log.h"
13 #include "net/proxy/proxy_info.h" 13 #include "net/proxy/proxy_info.h"
14 14
15 // TODO(eroman): Have the MultiThreadedProxyResolver clear its PAC script 15 // TODO(eroman): Have the MultiThreadedProxyResolver clear its PAC script
16 // data when SetPacScript fails. That will reclaim memory when 16 // data when SetPacScript fails. That will reclaim memory when
17 // testing bogus scripts. 17 // testing bogus scripts.
18 18
19 namespace net { 19 namespace net {
20 20
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 return; 555 return;
556 556
557 // Get the next job to process (FIFO). Transfer it from the pending queue 557 // Get the next job to process (FIFO). Transfer it from the pending queue
558 // to the executor. 558 // to the executor.
559 scoped_refptr<Job> job = pending_jobs_.front(); 559 scoped_refptr<Job> job = pending_jobs_.front();
560 pending_jobs_.pop_front(); 560 pending_jobs_.pop_front();
561 executor->StartJob(job); 561 executor->StartJob(job);
562 } 562 }
563 563
564 } // namespace net 564 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_auth_gssapi_posix.cc ('k') | net/proxy/proxy_config_service_linux_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698