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

Side by Side Diff: chrome/browser/renderer_host/resource_dispatcher_host.h

Issue 5850001: Make SocketStreamDispatcherHost a BrowserMessageFilter.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 19 matching lines...) Expand all
30 30
31 class CrossSiteResourceHandler; 31 class CrossSiteResourceHandler;
32 class DownloadFileManager; 32 class DownloadFileManager;
33 class DownloadRequestLimiter; 33 class DownloadRequestLimiter;
34 class LoginHandler; 34 class LoginHandler;
35 class PluginService; 35 class PluginService;
36 class ResourceDispatcherHostRequestInfo; 36 class ResourceDispatcherHostRequestInfo;
37 class ResourceHandler; 37 class ResourceHandler;
38 class SafeBrowsingService; 38 class SafeBrowsingService;
39 class SaveFileManager; 39 class SaveFileManager;
40 class SocketStreamDispatcherHost;
41 class SSLClientAuthHandler; 40 class SSLClientAuthHandler;
42 class UserScriptListener; 41 class UserScriptListener;
43 class URLRequestContext; 42 class URLRequestContext;
44 class WebKitThread; 43 class WebKitThread;
45 struct DownloadSaveInfo; 44 struct DownloadSaveInfo;
46 struct GlobalRequestID; 45 struct GlobalRequestID;
47 struct ViewHostMsg_Resource_Request; 46 struct ViewHostMsg_Resource_Request;
48 struct ViewMsg_ClosePage_Params; 47 struct ViewMsg_ClosePage_Params;
49 48
50 namespace webkit_blob { 49 namespace webkit_blob {
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 // Determines whether a download is allowed. 472 // Determines whether a download is allowed.
474 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 473 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
475 474
476 // We own the save file manager. 475 // We own the save file manager.
477 scoped_refptr<SaveFileManager> save_file_manager_; 476 scoped_refptr<SaveFileManager> save_file_manager_;
478 477
479 scoped_refptr<UserScriptListener> user_script_listener_; 478 scoped_refptr<UserScriptListener> user_script_listener_;
480 479
481 scoped_refptr<SafeBrowsingService> safe_browsing_; 480 scoped_refptr<SafeBrowsingService> safe_browsing_;
482 481
483 scoped_ptr<SocketStreamDispatcherHost> socket_stream_dispatcher_host_;
484
485 // We own the WebKit thread and see to its destruction. 482 // We own the WebKit thread and see to its destruction.
486 scoped_ptr<WebKitThread> webkit_thread_; 483 scoped_ptr<WebKitThread> webkit_thread_;
487 484
488 // Request ID for browser initiated requests. request_ids generated by 485 // Request ID for browser initiated requests. request_ids generated by
489 // child processes are counted up from 0, while browser created requests 486 // child processes are counted up from 0, while browser created requests
490 // start at -2 and go down from there. (We need to start at -2 because -1 is 487 // start at -2 and go down from there. (We need to start at -2 because -1 is
491 // used as a special value all over the resource_dispatcher_host for 488 // used as a special value all over the resource_dispatcher_host for
492 // uninitialized variables.) This way, we no longer have the unlikely (but 489 // uninitialized variables.) This way, we no longer have the unlikely (but
493 // observed in the real world!) event where we have two requests with the same 490 // observed in the real world!) event where we have two requests with the same
494 // request_id_. 491 // request_id_.
(...skipping 30 matching lines...) Expand all
525 // Used during IPC message dispatching so that the handlers can get a pointer 522 // Used during IPC message dispatching so that the handlers can get a pointer
526 // to the source of the message. 523 // to the source of the message.
527 Receiver* receiver_; 524 Receiver* receiver_;
528 525
529 static bool is_prefetch_enabled_; 526 static bool is_prefetch_enabled_;
530 527
531 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost); 528 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHost);
532 }; 529 };
533 530
534 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_ 531 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698