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

Side by Side Diff: content/browser/worker_host/worker_process_host.cc

Issue 6705012: Move the rest of the content browser->renderer messages to content. Also move drag related messa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/worker_host/worker_process_host.h" 5 #include "content/browser/worker_host/worker_process_host.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/content_settings/host_content_settings_map.h" 15 #include "chrome/browser/content_settings/host_content_settings_map.h"
16 #include "chrome/browser/metrics/user_metrics.h" 16 #include "chrome/browser/metrics/user_metrics.h"
17 #include "chrome/browser/net/chrome_url_request_context.h" 17 #include "chrome/browser/net/chrome_url_request_context.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/common/render_messages.h"
20 #include "chrome/common/render_messages_params.h"
21 #include "content/browser/appcache/appcache_dispatcher_host.h" 19 #include "content/browser/appcache/appcache_dispatcher_host.h"
22 #include "content/browser/browser_thread.h" 20 #include "content/browser/browser_thread.h"
23 #include "content/browser/child_process_security_policy.h" 21 #include "content/browser/child_process_security_policy.h"
24 #include "content/browser/file_system/file_system_dispatcher_host.h" 22 #include "content/browser/file_system/file_system_dispatcher_host.h"
25 #include "content/browser/mime_registry_message_filter.h" 23 #include "content/browser/mime_registry_message_filter.h"
26 #include "content/browser/renderer_host/blob_message_filter.h" 24 #include "content/browser/renderer_host/blob_message_filter.h"
27 #include "content/browser/renderer_host/database_message_filter.h" 25 #include "content/browser/renderer_host/database_message_filter.h"
28 #include "content/browser/renderer_host/file_utilities_message_filter.h" 26 #include "content/browser/renderer_host/file_utilities_message_filter.h"
29 #include "content/browser/renderer_host/render_view_host.h" 27 #include "content/browser/renderer_host/render_view_host.h"
30 #include "content/browser/renderer_host/render_view_host_delegate.h" 28 #include "content/browser/renderer_host/render_view_host_delegate.h"
31 #include "content/browser/renderer_host/render_view_host_notification_task.h" 29 #include "content/browser/renderer_host/render_view_host_notification_task.h"
32 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" 30 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
33 #include "content/browser/worker_host/message_port_service.h" 31 #include "content/browser/worker_host/message_port_service.h"
34 #include "content/browser/worker_host/worker_message_filter.h" 32 #include "content/browser/worker_host/worker_message_filter.h"
35 #include "content/browser/worker_host/worker_service.h" 33 #include "content/browser/worker_host/worker_service.h"
36 #include "content/common/debug_flags.h" 34 #include "content/common/debug_flags.h"
37 #include "content/common/result_codes.h" 35 #include "content/common/result_codes.h"
36 #include "content/common/view_messages.h"
38 #include "content/common/worker_messages.h" 37 #include "content/common/worker_messages.h"
39 #include "net/base/mime_util.h" 38 #include "net/base/mime_util.h"
40 #include "ipc/ipc_switches.h" 39 #include "ipc/ipc_switches.h"
41 #include "net/base/registry_controlled_domain.h" 40 #include "net/base/registry_controlled_domain.h"
42 #include "webkit/glue/resource_type.h" 41 #include "webkit/glue/resource_type.h"
43 #include "webkit/fileapi/file_system_path_manager.h" 42 #include "webkit/fileapi/file_system_path_manager.h"
44 43
45 namespace { 44 namespace {
46 45
47 // Helper class that we pass to SocketStreamDispatcherHost so that it can find 46 // Helper class that we pass to SocketStreamDispatcherHost so that it can find
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 } 602 }
604 } 603 }
605 return false; 604 return false;
606 } 605 }
607 606
608 WorkerProcessHost::WorkerInstance::FilterInfo 607 WorkerProcessHost::WorkerInstance::FilterInfo
609 WorkerProcessHost::WorkerInstance::GetFilter() const { 608 WorkerProcessHost::WorkerInstance::GetFilter() const {
610 DCHECK(NumFilters() == 1); 609 DCHECK(NumFilters() == 1);
611 return *filters_.begin(); 610 return *filters_.begin();
612 } 611 }
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_message_filter.cc ('k') | content/browser/worker_host/worker_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698