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

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

Issue 10834289: Split net::UploadData into two: for IPC and for upload handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
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 // 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 CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 7 #ifndef CONTENT_COMMON_RESOURCE_DISPATCHER_H_
8 #define CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 8 #define CONTENT_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/memory/linked_ptr.h" 14 #include "base/memory/linked_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/shared_memory.h" 16 #include "base/shared_memory.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "content/common/content_export.h" 18 #include "content/common/content_export.h"
19 #include "ipc/ipc_listener.h" 19 #include "ipc/ipc_listener.h"
20 #include "ipc/ipc_sender.h" 20 #include "ipc/ipc_sender.h"
21 #include "webkit/glue/resource_loader_bridge.h" 21 #include "webkit/glue/resource_loader_bridge.h"
22 22
23 namespace webkit_glue {
24 class ResourceRequestBody;
25 }
kinuko 2012/08/15 04:45:01 will remove this
26
23 namespace content { 27 namespace content {
24 class ResourceDispatcherDelegate; 28 class ResourceDispatcherDelegate;
25 struct ResourceResponseHead; 29 struct ResourceResponseHead;
26 30
27 // This class serves as a communication interface between the 31 // This class serves as a communication interface between the
28 // ResourceDispatcherHost in the browser process and the ResourceLoaderBridge in 32 // ResourceDispatcherHost in the browser process and the ResourceLoaderBridge in
29 // the child process. It can be used from any child process. 33 // the child process. It can be used from any child process.
30 class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener { 34 class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
31 public: 35 public:
32 explicit ResourceDispatcher(IPC::Sender* sender); 36 explicit ResourceDispatcher(IPC::Sender* sender);
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 base::WeakPtrFactory<ResourceDispatcher> weak_factory_; 170 base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
167 171
168 ResourceDispatcherDelegate* delegate_; 172 ResourceDispatcherDelegate* delegate_;
169 173
170 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher); 174 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
171 }; 175 };
172 176
173 } // namespace content 177 } // namespace content
174 178
175 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_ 179 #endif // CONTENT_COMMON_RESOURCE_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698