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 |
11 | 11 |
12 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 12 #ifndef CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
13 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 13 #define CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
14 #pragma once | |
15 | 14 |
16 #include <map> | 15 #include <map> |
17 #include <set> | 16 #include <set> |
18 #include <string> | 17 #include <string> |
19 #include <vector> | 18 #include <vector> |
20 | 19 |
21 #include "base/basictypes.h" | 20 #include "base/basictypes.h" |
22 #include "base/gtest_prod_util.h" | 21 #include "base/gtest_prod_util.h" |
23 #include "base/memory/linked_ptr.h" | 22 #include "base/memory/linked_ptr.h" |
24 #include "base/memory/scoped_ptr.h" | 23 #include "base/memory/scoped_ptr.h" |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 // http://crbug.com/90971 - Assists in tracking down use-after-frees on | 411 // http://crbug.com/90971 - Assists in tracking down use-after-frees on |
413 // shutdown. | 412 // shutdown. |
414 std::set<const ResourceContext*> active_resource_contexts_; | 413 std::set<const ResourceContext*> active_resource_contexts_; |
415 | 414 |
416 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); | 415 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); |
417 }; | 416 }; |
418 | 417 |
419 } // namespace content | 418 } // namespace content |
420 | 419 |
421 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_IMPL_H_ | 420 #endif // CONTENT_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_IMPL_H_ |
OLD | NEW |