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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 | 776 |
777 // Points to the registered download handler intercept. | 777 // Points to the registered download handler intercept. |
778 CreateDownloadHandlerIntercept create_download_handler_intercept_; | 778 CreateDownloadHandlerIntercept create_download_handler_intercept_; |
779 | 779 |
780 // Task runner for the main thread. | 780 // Task runner for the main thread. |
781 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 781 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
782 | 782 |
783 // Task runner for the IO thead. | 783 // Task runner for the IO thead. |
784 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; | 784 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner_; |
785 | 785 |
| 786 // Whether experimental web platform features are enabled. |
| 787 bool experimental_web_features_enabled_; |
| 788 |
786 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 789 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |
787 }; | 790 }; |
788 | 791 |
789 } // namespace content | 792 } // namespace content |
790 | 793 |
791 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 794 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
OLD | NEW |