Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: chrome/common/resource_dispatcher.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/webkit_param_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #ifndef CHROME_COMMON_RESOURCE_DISPATCHER_H__ 7 #ifndef CHROME_COMMON_RESOURCE_DISPATCHER_H__
8 #define CHROME_COMMON_RESOURCE_DISPATCHER_H__ 8 #define CHROME_COMMON_RESOURCE_DISPATCHER_H__
9 9
10 #include <deque> 10 #include <deque>
11 #include <string> 11 #include <string>
12 12
13 #include "base/hash_tables.h" 13 #include "base/hash_tables.h"
14 #include "base/shared_memory.h" 14 #include "base/shared_memory.h"
15 #include "base/task.h" 15 #include "base/task.h"
16 #include "chrome/common/filter_policy.h" 16 #include "chrome/common/filter_policy.h"
17 #include "chrome/common/ipc_channel.h" 17 #include "ipc/ipc_channel.h"
18 #include "webkit/glue/resource_loader_bridge.h" 18 #include "webkit/glue/resource_loader_bridge.h"
19 19
20 struct ResourceResponseHead; 20 struct ResourceResponseHead;
21 21
22 // This class serves as a communication interface between the 22 // This class serves as a communication interface between the
23 // ResourceDispatcherHost in the browser process and the ResourceLoaderBridge in 23 // ResourceDispatcherHost in the browser process and the ResourceLoaderBridge in
24 // the child process. It can be used from any child process. 24 // the child process. It can be used from any child process.
25 class ResourceDispatcher { 25 class ResourceDispatcher {
26 public: 26 public:
27 explicit ResourceDispatcher(IPC::Message::Sender* sender); 27 explicit ResourceDispatcher(IPC::Message::Sender* sender);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // All pending requests issued to the host 122 // All pending requests issued to the host
123 PendingRequestList pending_requests_; 123 PendingRequestList pending_requests_;
124 124
125 ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_; 125 ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_;
126 126
127 DISALLOW_EVIL_CONSTRUCTORS(ResourceDispatcher); 127 DISALLOW_EVIL_CONSTRUCTORS(ResourceDispatcher);
128 }; 128 };
129 129
130 #endif // CHROME_COMMON_RESOURCE_DISPATCHER_H__ 130 #endif // CHROME_COMMON_RESOURCE_DISPATCHER_H__
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698