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

Side by Side Diff: chrome/browser/io_thread.h

Issue 10736066: Adding histograms showing fraction of page load times (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chrome/browser/net/ssl_config_service_manager.h" 15 #include "chrome/browser/net/ssl_config_service_manager.h"
16 #include "chrome/browser/prefs/pref_member.h" 16 #include "chrome/browser/prefs/pref_member.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/browser_thread_delegate.h" 18 #include "content/public/browser/browser_thread_delegate.h"
19 #include "net/base/network_change_notifier.h" 19 #include "net/base/network_change_notifier.h"
20 20
21 class ChromeNetLog; 21 class ChromeNetLog;
22 class ExtensionEventRouterForwarder; 22 class ExtensionEventRouterForwarder;
23 class PrefProxyConfigTrackerImpl; 23 class PrefProxyConfigTrackerImpl;
24 class PrefService; 24 class PrefService;
25 class SystemURLRequestContextGetter; 25 class SystemURLRequestContextGetter;
26 26
27 namespace chrome_browser_net { 27 namespace chrome_browser_net {
28 class CacheStats;
28 class HttpPipeliningCompatibilityClient; 29 class HttpPipeliningCompatibilityClient;
29 } 30 }
30 31
31 namespace net { 32 namespace net {
32 class CertVerifier; 33 class CertVerifier;
33 class CookieStore; 34 class CookieStore;
34 class FtpTransactionFactory; 35 class FtpTransactionFactory;
35 class HostResolver; 36 class HostResolver;
36 class HttpAuthHandlerFactory; 37 class HttpAuthHandlerFactory;
37 class HttpServerProperties; 38 class HttpServerProperties;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 scoped_ptr<net::URLRequestContext> system_request_context; 102 scoped_ptr<net::URLRequestContext> system_request_context;
102 SystemRequestContextLeakChecker system_request_context_leak_checker; 103 SystemRequestContextLeakChecker system_request_context_leak_checker;
103 // |system_cookie_store| and |system_server_bound_cert_service| are shared 104 // |system_cookie_store| and |system_server_bound_cert_service| are shared
104 // between |proxy_script_fetcher_context| and |system_request_context|. 105 // between |proxy_script_fetcher_context| and |system_request_context|.
105 scoped_refptr<net::CookieStore> system_cookie_store; 106 scoped_refptr<net::CookieStore> system_cookie_store;
106 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service; 107 scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service;
107 scoped_refptr<ExtensionEventRouterForwarder> 108 scoped_refptr<ExtensionEventRouterForwarder>
108 extension_event_router_forwarder; 109 extension_event_router_forwarder;
109 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient> 110 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient>
110 http_pipelining_compatibility_client; 111 http_pipelining_compatibility_client;
112 scoped_ptr<chrome_browser_net::CacheStats> cache_stats;
111 }; 113 };
112 114
113 // |net_log| must either outlive the IOThread or be NULL. 115 // |net_log| must either outlive the IOThread or be NULL.
114 IOThread(PrefService* local_state, 116 IOThread(PrefService* local_state,
115 ChromeNetLog* net_log, 117 ChromeNetLog* net_log,
116 ExtensionEventRouterForwarder* extension_event_router_forwarder); 118 ExtensionEventRouterForwarder* extension_event_router_forwarder);
117 119
118 virtual ~IOThread(); 120 virtual ~IOThread();
119 121
120 // Can only be called on the IO thread. 122 // Can only be called on the IO thread.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 system_url_request_context_getter_; 212 system_url_request_context_getter_;
211 213
212 net::SdchManager* sdch_manager_; 214 net::SdchManager* sdch_manager_;
213 215
214 base::WeakPtrFactory<IOThread> weak_factory_; 216 base::WeakPtrFactory<IOThread> weak_factory_;
215 217
216 DISALLOW_COPY_AND_ASSIGN(IOThread); 218 DISALLOW_COPY_AND_ASSIGN(IOThread);
217 }; 219 };
218 220
219 #endif // CHROME_BROWSER_IO_THREAD_H_ 221 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698