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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 8921021: Trivial move of content::BrowserContext to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 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) 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 22 matching lines...) Expand all
33 #include "base/process_util.h" 33 #include "base/process_util.h"
34 #include "base/rand_util.h" 34 #include "base/rand_util.h"
35 #include "base/stl_util.h" 35 #include "base/stl_util.h"
36 #include "base/string_util.h" 36 #include "base/string_util.h"
37 #include "base/sys_info.h" 37 #include "base/sys_info.h"
38 #include "base/threading/thread.h" 38 #include "base/threading/thread.h"
39 #include "base/threading/thread_restrictions.h" 39 #include "base/threading/thread_restrictions.h"
40 #include "base/tracked_objects.h" 40 #include "base/tracked_objects.h"
41 #include "content/browser/appcache/appcache_dispatcher_host.h" 41 #include "content/browser/appcache/appcache_dispatcher_host.h"
42 #include "content/browser/browser_child_process_host.h" 42 #include "content/browser/browser_child_process_host.h"
43 #include "content/browser/browser_context.h"
44 #include "content/browser/browser_main.h" 43 #include "content/browser/browser_main.h"
45 #include "content/browser/child_process_security_policy.h" 44 #include "content/browser/child_process_security_policy.h"
46 #include "content/browser/device_orientation/message_filter.h" 45 #include "content/browser/device_orientation/message_filter.h"
47 #include "content/browser/download/mhtml_generation_manager.h" 46 #include "content/browser/download/mhtml_generation_manager.h"
48 #include "content/browser/file_system/file_system_dispatcher_host.h" 47 #include "content/browser/file_system/file_system_dispatcher_host.h"
49 #include "content/browser/geolocation/geolocation_dispatcher_host.h" 48 #include "content/browser/geolocation/geolocation_dispatcher_host.h"
50 #include "content/browser/gpu/gpu_data_manager.h" 49 #include "content/browser/gpu/gpu_data_manager.h"
51 #include "content/browser/gpu/gpu_process_host.h" 50 #include "content/browser/gpu/gpu_process_host.h"
52 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" 51 #include "content/browser/in_process_webkit/dom_storage_message_filter.h"
53 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" 52 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
(...skipping 25 matching lines...) Expand all
79 #include "content/browser/resolve_proxy_msg_helper.h" 78 #include "content/browser/resolve_proxy_msg_helper.h"
80 #include "content/browser/resource_context.h" 79 #include "content/browser/resource_context.h"
81 #include "content/browser/speech/speech_input_dispatcher_host.h" 80 #include "content/browser/speech/speech_input_dispatcher_host.h"
82 #include "content/browser/trace_message_filter.h" 81 #include "content/browser/trace_message_filter.h"
83 #include "content/browser/webui/web_ui_factory.h" 82 #include "content/browser/webui/web_ui_factory.h"
84 #include "content/browser/worker_host/worker_message_filter.h" 83 #include "content/browser/worker_host/worker_message_filter.h"
85 #include "content/common/child_process_host_impl.h" 84 #include "content/common/child_process_host_impl.h"
86 #include "content/common/child_process_messages.h" 85 #include "content/common/child_process_messages.h"
87 #include "content/common/gpu/gpu_messages.h" 86 #include "content/common/gpu/gpu_messages.h"
88 #include "content/public/browser/notification_service.h" 87 #include "content/public/browser/notification_service.h"
89 #include "content/public/browser/user_metrics.h"
90 #include "content/common/resource_messages.h" 88 #include "content/common/resource_messages.h"
91 #include "content/common/view_messages.h" 89 #include "content/common/view_messages.h"
90 #include "content/public/browser/browser_context.h"
92 #include "content/public/browser/content_browser_client.h" 91 #include "content/public/browser/content_browser_client.h"
92 #include "content/public/browser/notification_service.h"
93 #include "content/public/browser/user_metrics.h"
93 #include "content/public/common/content_constants.h" 94 #include "content/public/common/content_constants.h"
94 #include "content/public/common/content_switches.h" 95 #include "content/public/common/content_switches.h"
95 #include "content/public/common/process_type.h" 96 #include "content/public/common/process_type.h"
96 #include "content/public/common/result_codes.h" 97 #include "content/public/common/result_codes.h"
97 #include "content/renderer/render_process_impl.h" 98 #include "content/renderer/render_process_impl.h"
98 #include "content/renderer/render_thread_impl.h" 99 #include "content/renderer/render_thread_impl.h"
99 #include "ipc/ipc_logging.h" 100 #include "ipc/ipc_logging.h"
100 #include "ipc/ipc_platform_file.h" 101 #include "ipc/ipc_platform_file.h"
101 #include "ipc/ipc_switches.h" 102 #include "ipc/ipc_switches.h"
102 #include "media/base/media_switches.h" 103 #include "media/base/media_switches.h"
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { 1316 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) {
1316 // Only honor the request if appropriate persmissions are granted. 1317 // Only honor the request if appropriate persmissions are granted.
1317 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) 1318 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path))
1318 content::GetContentClient()->browser()->OpenItem(path); 1319 content::GetContentClient()->browser()->OpenItem(path);
1319 } 1320 }
1320 1321
1321 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1322 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1322 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1323 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1323 MHTMLGenerated(job_id, data_size); 1324 MHTMLGenerated(job_id, data_size);
1324 } 1325 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698