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

Side by Side Diff: net/tools/hresolv/hresolv.cc

Issue 3010052: FBTF: Remove unneeded headers from base/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « media/filters/omx_video_decoder.cc ('k') | net/url_request/url_request_file_job.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 // hrseolv is a command line utility which runs the HostResolver in the 5 // hrseolv is a command line utility which runs the HostResolver in the
6 // Chromium network stack. 6 // Chromium network stack.
7 // 7 //
8 // The user specifies the hosts to lookup and when to look them up. 8 // The user specifies the hosts to lookup and when to look them up.
9 // The hosts must be specified in order. 9 // The hosts must be specified in order.
10 // The hosts can be contained in a file or on the command line. If no 10 // The hosts can be contained in a file or on the command line. If no
(...skipping 14 matching lines...) Expand all
25 #include "base/at_exit.h" 25 #include "base/at_exit.h"
26 #include "base/command_line.h" 26 #include "base/command_line.h"
27 #include "base/condition_variable.h" 27 #include "base/condition_variable.h"
28 #include "base/file_path.h" 28 #include "base/file_path.h"
29 #include "base/file_util.h" 29 #include "base/file_util.h"
30 #include "base/message_loop.h" 30 #include "base/message_loop.h"
31 #include "base/string_number_conversions.h" 31 #include "base/string_number_conversions.h"
32 #include "base/string_util.h" 32 #include "base/string_util.h"
33 #include "base/thread.h" 33 #include "base/thread.h"
34 #include "base/time.h" 34 #include "base/time.h"
35 #include "base/waitable_event.h"
36 #include "net/base/address_list.h" 35 #include "net/base/address_list.h"
37 #include "net/base/completion_callback.h" 36 #include "net/base/completion_callback.h"
38 #include "net/base/host_resolver_impl.h" 37 #include "net/base/host_resolver_impl.h"
39 #include "net/base/net_errors.h" 38 #include "net/base/net_errors.h"
40 #include "net/base/net_util.h" 39 #include "net/base/net_util.h"
41 #include "net/base/sys_addrinfo.h" 40 #include "net/base/sys_addrinfo.h"
42 41
43 struct FlagName { 42 struct FlagName {
44 int flag; 43 int flag;
45 const char* name; 44 const char* name;
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 base::TimeDelta::FromSeconds(0)); 451 base::TimeDelta::FromSeconds(0));
453 452
454 scoped_refptr<net::HostResolver> host_resolver( 453 scoped_refptr<net::HostResolver> host_resolver(
455 new net::HostResolverImpl(NULL, cache, 100u)); 454 new net::HostResolverImpl(NULL, cache, 100u));
456 ResolverInvoker invoker(host_resolver.get()); 455 ResolverInvoker invoker(host_resolver.get());
457 invoker.ResolveAll(hosts_and_times, options.async); 456 invoker.ResolveAll(hosts_and_times, options.async);
458 457
459 CommandLine::Reset(); 458 CommandLine::Reset();
460 return 0; 459 return 0;
461 } 460 }
OLDNEW
« no previous file with comments | « media/filters/omx_video_decoder.cc ('k') | net/url_request/url_request_file_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698