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

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

Issue 370833002: Move resource_type.* from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix Created 6 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 | 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 #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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 29 matching lines...) Expand all
40 #include "content/browser/resource_context_impl.h" 40 #include "content/browser/resource_context_impl.h"
41 #include "content/browser/worker_host/worker_message_filter.h" 41 #include "content/browser/worker_host/worker_message_filter.h"
42 #include "content/browser/worker_host/worker_service_impl.h" 42 #include "content/browser/worker_host/worker_service_impl.h"
43 #include "content/common/child_process_host_impl.h" 43 #include "content/common/child_process_host_impl.h"
44 #include "content/common/view_messages.h" 44 #include "content/common/view_messages.h"
45 #include "content/common/worker_messages.h" 45 #include "content/common/worker_messages.h"
46 #include "content/public/browser/browser_thread.h" 46 #include "content/public/browser/browser_thread.h"
47 #include "content/public/browser/content_browser_client.h" 47 #include "content/public/browser/content_browser_client.h"
48 #include "content/public/browser/user_metrics.h" 48 #include "content/public/browser/user_metrics.h"
49 #include "content/public/common/content_switches.h" 49 #include "content/public/common/content_switches.h"
50 #include "content/public/common/resource_type.h"
50 #include "content/public/common/result_codes.h" 51 #include "content/public/common/result_codes.h"
51 #include "content/public/common/sandboxed_process_launcher_delegate.h" 52 #include "content/public/common/sandboxed_process_launcher_delegate.h"
52 #include "ipc/ipc_switches.h" 53 #include "ipc/ipc_switches.h"
53 #include "net/base/mime_util.h" 54 #include "net/base/mime_util.h"
54 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 55 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
55 #include "net/url_request/url_request_context_getter.h" 56 #include "net/url_request/url_request_context_getter.h"
56 #include "ui/base/ui_base_switches.h" 57 #include "ui/base/ui_base_switches.h"
57 #include "webkit/browser/fileapi/file_system_context.h" 58 #include "webkit/browser/fileapi/file_system_context.h"
58 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" 59 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
59 #include "webkit/common/resource_type.h"
60 60
61 #if defined(OS_WIN) 61 #if defined(OS_WIN)
62 #include "content/common/sandbox_win.h" 62 #include "content/common/sandbox_win.h"
63 #endif 63 #endif
64 64
65 namespace content { 65 namespace content {
66 namespace { 66 namespace {
67 67
68 // NOTE: changes to this class need to be reviewed by the security team. 68 // NOTE: changes to this class need to be reviewed by the security team.
69 class WorkerSandboxedProcessLauncherDelegate 69 class WorkerSandboxedProcessLauncherDelegate
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 return false; 820 return false;
821 } 821 }
822 822
823 WorkerProcessHost::WorkerInstance::FilterInfo 823 WorkerProcessHost::WorkerInstance::FilterInfo
824 WorkerProcessHost::WorkerInstance::GetFilter() const { 824 WorkerProcessHost::WorkerInstance::GetFilter() const {
825 DCHECK(NumFilters() == 1); 825 DCHECK(NumFilters() == 1);
826 return *filters_.begin(); 826 return *filters_.begin();
827 } 827 }
828 828
829 } // namespace content 829 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698