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

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

Issue 9371025: Move resource_context.h to content/public/browser. Remove the workaround in its destructor since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 // 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 #include "content/browser/renderer_host/pepper_message_filter.h" 67 #include "content/browser/renderer_host/pepper_message_filter.h"
68 #include "content/browser/renderer_host/quota_dispatcher_host.h" 68 #include "content/browser/renderer_host/quota_dispatcher_host.h"
69 #include "content/browser/renderer_host/render_message_filter.h" 69 #include "content/browser/renderer_host/render_message_filter.h"
70 #include "content/browser/renderer_host/render_view_host.h" 70 #include "content/browser/renderer_host/render_view_host.h"
71 #include "content/browser/renderer_host/render_widget_helper.h" 71 #include "content/browser/renderer_host/render_widget_helper.h"
72 #include "content/browser/renderer_host/render_widget_host.h" 72 #include "content/browser/renderer_host/render_widget_host.h"
73 #include "content/browser/renderer_host/resource_message_filter.h" 73 #include "content/browser/renderer_host/resource_message_filter.h"
74 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" 74 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
75 #include "content/browser/renderer_host/text_input_client_message_filter.h" 75 #include "content/browser/renderer_host/text_input_client_message_filter.h"
76 #include "content/browser/resolve_proxy_msg_helper.h" 76 #include "content/browser/resolve_proxy_msg_helper.h"
77 #include "content/browser/resource_context.h"
78 #include "content/browser/speech/speech_input_dispatcher_host.h" 77 #include "content/browser/speech/speech_input_dispatcher_host.h"
79 #include "content/browser/trace_message_filter.h" 78 #include "content/browser/trace_message_filter.h"
80 #include "content/browser/worker_host/worker_message_filter.h" 79 #include "content/browser/worker_host/worker_message_filter.h"
81 #include "content/common/child_process_host_impl.h" 80 #include "content/common/child_process_host_impl.h"
82 #include "content/common/child_process_messages.h" 81 #include "content/common/child_process_messages.h"
83 #include "content/common/gpu/gpu_messages.h" 82 #include "content/common/gpu/gpu_messages.h"
84 #include "content/common/resource_messages.h" 83 #include "content/common/resource_messages.h"
85 #include "content/common/view_messages.h" 84 #include "content/common/view_messages.h"
86 #include "content/public/browser/browser_context.h" 85 #include "content/public/browser/browser_context.h"
87 #include "content/public/browser/content_browser_client.h" 86 #include "content/public/browser/content_browser_client.h"
88 #include "content/public/browser/notification_service.h" 87 #include "content/public/browser/notification_service.h"
89 #include "content/public/browser/render_view_host_delegate.h" 88 #include "content/public/browser/render_view_host_delegate.h"
89 #include "content/public/browser/resource_context.h"
90 #include "content/public/browser/user_metrics.h" 90 #include "content/public/browser/user_metrics.h"
91 #include "content/public/browser/web_ui_controller_factory.h" 91 #include "content/public/browser/web_ui_controller_factory.h"
92 #include "content/public/common/content_constants.h" 92 #include "content/public/common/content_constants.h"
93 #include "content/public/common/content_switches.h" 93 #include "content/public/common/content_switches.h"
94 #include "content/public/common/process_type.h" 94 #include "content/public/common/process_type.h"
95 #include "content/public/common/result_codes.h" 95 #include "content/public/common/result_codes.h"
96 #include "content/renderer/render_process_impl.h" 96 #include "content/renderer/render_process_impl.h"
97 #include "content/renderer/render_thread_impl.h" 97 #include "content/renderer/render_thread_impl.h"
98 #include "ipc/ipc_logging.h" 98 #include "ipc/ipc_logging.h"
99 #include "ipc/ipc_platform_file.h" 99 #include "ipc/ipc_platform_file.h"
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 // Only honor the request if appropriate persmissions are granted. 1293 // Only honor the request if appropriate persmissions are granted.
1294 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), 1294 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(),
1295 path)) 1295 path))
1296 content::GetContentClient()->browser()->OpenItem(path); 1296 content::GetContentClient()->browser()->OpenItem(path);
1297 } 1297 }
1298 1298
1299 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1299 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1300 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1300 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1301 MHTMLGenerated(job_id, data_size); 1301 MHTMLGenerated(job_id, data_size);
1302 } 1302 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698