| 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 // This is the browser side of the resource dispatcher, it receives requests | 5 // This is the browser side of the resource dispatcher, it receives requests |
| 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and | 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and |
| 7 // dispatches them to URLRequests. It then forwards the messages from the | 7 // dispatches them to URLRequests. It then forwards the messages from the |
| 8 // URLRequests back to the correct process for handling. | 8 // URLRequests back to the correct process for handling. |
| 9 // | 9 // |
| 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 | 823 |
| 824 // Points to the registered download handler intercept. | 824 // Points to the registered download handler intercept. |
| 825 CreateDownloadHandlerIntercept create_download_handler_intercept_; | 825 CreateDownloadHandlerIntercept create_download_handler_intercept_; |
| 826 | 826 |
| 827 // Task runner for the main thread. | 827 // Task runner for the main thread. |
| 828 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 828 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
| 829 | 829 |
| 830 // Task runner for the IO thead. | 830 // Task runner for the IO thead. |
| 831 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; | 831 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; |
| 832 | 832 |
| 833 // Whether experimental web platform features are enabled. | |
| 834 bool experimental_web_features_enabled_; | |
| 835 | |
| 836 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 833 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |
| 837 }; | 834 }; |
| 838 | 835 |
| 839 } // namespace content | 836 } // namespace content |
| 840 | 837 |
| 841 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 838 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
| OLD | NEW |