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 #ifndef CHROME_BROWSER_IO_THREAD_H_ | 5 #ifndef CHROME_BROWSER_IO_THREAD_H_ |
6 #define CHROME_BROWSER_IO_THREAD_H_ | 6 #define CHROME_BROWSER_IO_THREAD_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "base/task.h" |
13 #include "chrome/browser/browser_process_sub_thread.h" | 14 #include "chrome/browser/browser_process_sub_thread.h" |
14 #include "chrome/browser/net/chrome_network_delegate.h" | 15 #include "chrome/browser/net/chrome_network_delegate.h" |
15 #include "chrome/common/net/predictor_common.h" | 16 #include "chrome/common/net/predictor_common.h" |
16 #include "chrome/browser/net/connect_interceptor.h" | 17 #include "chrome/browser/net/connect_interceptor.h" |
17 #include "net/base/host_resolver.h" | 18 #include "net/base/host_resolver.h" |
18 #include "net/base/network_change_notifier.h" | 19 #include "net/base/network_change_notifier.h" |
19 | 20 |
20 class ChromeNetLog; | 21 class ChromeNetLog; |
21 class ListValue; | 22 class ListValue; |
22 | 23 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // these observers would be used accidentally after we have begun to tear | 112 // these observers would be used accidentally after we have begun to tear |
112 // down. | 113 // down. |
113 chrome_browser_net::ConnectInterceptor* speculative_interceptor_; | 114 chrome_browser_net::ConnectInterceptor* speculative_interceptor_; |
114 net::HostResolver::Observer* prefetch_observer_; | 115 net::HostResolver::Observer* prefetch_observer_; |
115 chrome_browser_net::Predictor* predictor_; | 116 chrome_browser_net::Predictor* predictor_; |
116 | 117 |
117 DISALLOW_COPY_AND_ASSIGN(IOThread); | 118 DISALLOW_COPY_AND_ASSIGN(IOThread); |
118 }; | 119 }; |
119 | 120 |
120 #endif // CHROME_BROWSER_IO_THREAD_H_ | 121 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |