OLD | NEW |
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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 367 |
368 // These member variables are initialized by a task posted to the IO thread, | 368 // These member variables are initialized by a task posted to the IO thread, |
369 // which gets posted by calling certain member functions of IOThread. | 369 // which gets posted by calling certain member functions of IOThread. |
370 std::unique_ptr<net::ProxyConfigService> system_proxy_config_service_; | 370 std::unique_ptr<net::ProxyConfigService> system_proxy_config_service_; |
371 | 371 |
372 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 372 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
373 | 373 |
374 scoped_refptr<net::URLRequestContextGetter> | 374 scoped_refptr<net::URLRequestContextGetter> |
375 system_url_request_context_getter_; | 375 system_url_request_context_getter_; |
376 | 376 |
377 // True if SPDY is allowed by policy. | |
378 bool is_spdy_allowed_by_policy_; | |
379 | |
380 // True if QUIC is allowed by policy. | 377 // True if QUIC is allowed by policy. |
381 bool is_quic_allowed_by_policy_; | 378 bool is_quic_allowed_by_policy_; |
382 | 379 |
383 const base::TimeTicks creation_time_; | 380 const base::TimeTicks creation_time_; |
384 | 381 |
385 // Callback for updating data use prefs which needs to be initialized on UI | 382 // Callback for updating data use prefs which needs to be initialized on UI |
386 // thread and passed to |ChromeNetworkDelegate|. | 383 // thread and passed to |ChromeNetworkDelegate|. |
387 metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_; | 384 metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_; |
388 | 385 |
389 base::WeakPtrFactory<IOThread> weak_factory_; | 386 base::WeakPtrFactory<IOThread> weak_factory_; |
390 | 387 |
391 DISALLOW_COPY_AND_ASSIGN(IOThread); | 388 DISALLOW_COPY_AND_ASSIGN(IOThread); |
392 }; | 389 }; |
393 | 390 |
394 #endif // CHROME_BROWSER_IO_THREAD_H_ | 391 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |