OLD | NEW |
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 "base/file_path.h" | 5 #include "base/file_path.h" |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/thread.h" | 11 #include "base/threading/thread.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
14 #include "net/base/test_completion_callback.h" | 14 #include "net/base/test_completion_callback.h" |
15 #include "net/disk_cache/backend_impl.h" | 15 #include "net/disk_cache/backend_impl.h" |
16 #include "net/disk_cache/entry_impl.h" | 16 #include "net/disk_cache/entry_impl.h" |
17 #include "net/http/http_cache.h" | 17 #include "net/http/http_cache.h" |
18 #include "net/http/http_response_headers.h" | 18 #include "net/http/http_response_headers.h" |
19 #include "net/http/http_response_info.h" | 19 #include "net/http/http_response_info.h" |
20 #include "net/tools/dump_cache/cache_dumper.h" | 20 #include "net/tools/dump_cache/cache_dumper.h" |
21 | 21 |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 | 920 |
921 SlaveSM slave(input_path, pipe); | 921 SlaveSM slave(input_path, pipe); |
922 if (!slave.DoInit()) { | 922 if (!slave.DoInit()) { |
923 printf("Unable to talk with the main process\n"); | 923 printf("Unable to talk with the main process\n"); |
924 return -1; | 924 return -1; |
925 } | 925 } |
926 | 926 |
927 loop.Run(); | 927 loop.Run(); |
928 return 0; | 928 return 0; |
929 } | 929 } |
OLD | NEW |