| Index: chrome/browser/io_thread.h
|
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
|
| index fc27d9b337cfbd860cba165afa4e4088108874c7..50aea0354f9eabd19700b7d3b2ad0e537706b486 100644
|
| --- a/chrome/browser/io_thread.h
|
| +++ b/chrome/browser/io_thread.h
|
| @@ -29,6 +29,8 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/browser_thread_delegate.h"
|
| #include "net/base/network_change_notifier.h"
|
| +#include "net/cert/ct_observer.h"
|
| +#include "net/cert/ct_verifier.h"
|
| #include "net/http/http_network_session.h"
|
|
|
| class PrefProxyConfigTracker;
|
| @@ -85,6 +87,12 @@ class URLRequestBackoffManager;
|
| class URLRequestContext;
|
| class URLRequestContextGetter;
|
| class URLRequestJobFactory;
|
| +
|
| +namespace ct {
|
| +class STHReporterRegistrar;
|
| +class STHReporter;
|
| +} // namespace ct
|
| +
|
| } // namespace net
|
|
|
| namespace net_log {
|
| @@ -191,6 +199,18 @@ class IOThread : public content::BrowserThreadDelegate {
|
| // |system_cookie_store| and |system_channel_id_service| are shared
|
| // between |proxy_script_fetcher_context| and |system_request_context|.
|
| scoped_ptr<net::CookieStore> system_cookie_store;
|
| + // scoped_refptr<net::CookieStore> system_cookie_store;
|
| +
|
| + // |cert_transparency_observer| is shared between
|
| + // |proxy_script_fetcher_context| and |system_request_context|. Since
|
| + // it may be performing URLRequests of its own it must be destroyed
|
| + // before both URLRequestContexts.
|
| + scoped_ptr<net::ct::CTObserver> cert_transparency_observer;
|
| + // Owned by the IOThread, used by ProfileIOData and the IOThread
|
| + // itself. Keeps track of all the STHReporter instances that need
|
| + // to get notification of new STHs until one is provided by
|
| + // RegisterWithSTHObserver, if at all.
|
| + net::ct::STHReporterRegistrar sth_observers_registrar;
|
| #if defined(ENABLE_EXTENSIONS)
|
| scoped_refptr<extensions::EventRouterForwarder>
|
| extension_event_router_forwarder;
|
| @@ -290,6 +310,8 @@ class IOThread : public content::BrowserThreadDelegate {
|
| // a result of a field trial or a command line flag.
|
| static bool ShouldEnableQuicForDataReductionProxy();
|
|
|
| + void RegisterWithSTHObserver(net::ct::STHReporter* reporter);
|
| +
|
| private:
|
| // Map from name to value for all parameters associate with a field trial.
|
| typedef std::map<std::string, std::string> VariationParameters;
|
|
|