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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 system_url_request_context_getter_; | 591 system_url_request_context_getter_; |
592 | 592 |
593 // True if SPDY is disabled by policy. | 593 // True if SPDY is disabled by policy. |
594 bool is_spdy_disabled_by_policy_; | 594 bool is_spdy_disabled_by_policy_; |
595 | 595 |
596 // True if QUIC is allowed by policy. | 596 // True if QUIC is allowed by policy. |
597 bool is_quic_allowed_by_policy_; | 597 bool is_quic_allowed_by_policy_; |
598 | 598 |
599 const base::TimeTicks creation_time_; | 599 const base::TimeTicks creation_time_; |
600 | 600 |
| 601 // Callback for updating data use prefs which needs to be initialized on UI |
| 602 // thread and passed to |ChromeNetworkDelegate|. |
| 603 metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_; |
| 604 |
601 base::WeakPtrFactory<IOThread> weak_factory_; | 605 base::WeakPtrFactory<IOThread> weak_factory_; |
602 | 606 |
603 DISALLOW_COPY_AND_ASSIGN(IOThread); | 607 DISALLOW_COPY_AND_ASSIGN(IOThread); |
604 }; | 608 }; |
605 | 609 |
606 #endif // CHROME_BROWSER_IO_THREAD_H_ | 610 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |