| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/ref_counted.h" | |
| 13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/task.h" | 13 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/net/ssl_config_service_manager.h" | 14 #include "chrome/browser/net/ssl_config_service_manager.h" |
| 16 #include "chrome/browser/prefs/pref_member.h" | 15 #include "chrome/browser/prefs/pref_member.h" |
| 17 #include "content/browser/browser_process_sub_thread.h" | 16 #include "content/browser/browser_process_sub_thread.h" |
| 18 #include "net/base/network_change_notifier.h" | 17 #include "net/base/network_change_notifier.h" |
| 19 | 18 |
| 20 class ChromeNetLog; | 19 class ChromeNetLog; |
| 21 class ExtensionEventRouterForwarder; | 20 class ExtensionEventRouterForwarder; |
| 22 class MediaInternals; | 21 class MediaInternals; |
| 23 class PrefProxyConfigTrackerImpl; | 22 class PrefProxyConfigTrackerImpl; |
| 24 class PrefService; | 23 class PrefService; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // which gets posted by calling certain member functions of IOThread. | 172 // which gets posted by calling certain member functions of IOThread. |
| 174 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; | 173 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; |
| 175 | 174 |
| 176 scoped_ptr<PrefProxyConfigTrackerImpl> pref_proxy_config_tracker_; | 175 scoped_ptr<PrefProxyConfigTrackerImpl> pref_proxy_config_tracker_; |
| 177 | 176 |
| 178 scoped_refptr<net::URLRequestContextGetter> | 177 scoped_refptr<net::URLRequestContextGetter> |
| 179 system_url_request_context_getter_; | 178 system_url_request_context_getter_; |
| 180 | 179 |
| 181 net::SdchManager* sdch_manager_; | 180 net::SdchManager* sdch_manager_; |
| 182 | 181 |
| 183 ScopedRunnableMethodFactory<IOThread> method_factory_; | 182 base::WeakPtrFactory<IOThread> weak_factory_; |
| 184 | 183 |
| 185 DISALLOW_COPY_AND_ASSIGN(IOThread); | 184 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 186 }; | 185 }; |
| 187 | 186 |
| 188 #endif // CHROME_BROWSER_IO_THREAD_H_ | 187 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |