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

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

Issue 9702014: [UMA] Use proper C++ objects to serialize tracked_objects across process boundaries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix yet another IWYU for chromeos/ (take 4) Created 8 years, 8 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
« no previous file with comments | « content/browser/profiler_message_filter.cc ('k') | content/common/child_process_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 #endif 537 #endif
538 538
539 channel_->AddFilter(new TraceMessageFilter()); 539 channel_->AddFilter(new TraceMessageFilter());
540 channel_->AddFilter(new ResolveProxyMsgHelper( 540 channel_->AddFilter(new ResolveProxyMsgHelper(
541 browser_context->GetRequestContextForRenderProcess(GetID()))); 541 browser_context->GetRequestContextForRenderProcess(GetID())));
542 channel_->AddFilter(new QuotaDispatcherHost( 542 channel_->AddFilter(new QuotaDispatcherHost(
543 GetID(), 543 GetID(),
544 content::BrowserContext::GetQuotaManager(browser_context), 544 content::BrowserContext::GetQuotaManager(browser_context),
545 content::GetContentClient()->browser()->CreateQuotaPermissionContext())); 545 content::GetContentClient()->browser()->CreateQuotaPermissionContext()));
546 channel_->AddFilter(new content::GamepadBrowserMessageFilter(this)); 546 channel_->AddFilter(new content::GamepadBrowserMessageFilter(this));
547 channel_->AddFilter(new ProfilerMessageFilter()); 547 channel_->AddFilter(new content::ProfilerMessageFilter(
548 content::PROCESS_TYPE_RENDERER));
548 } 549 }
549 550
550 int RenderProcessHostImpl::GetNextRoutingID() { 551 int RenderProcessHostImpl::GetNextRoutingID() {
551 return widget_helper_->GetNextRoutingID(); 552 return widget_helper_->GetNextRoutingID();
552 } 553 }
553 554
554 void RenderProcessHostImpl::CancelResourceRequests(int render_widget_id) { 555 void RenderProcessHostImpl::CancelResourceRequests(int render_widget_id) {
555 widget_helper_->CancelResourceRequests(render_widget_id); 556 widget_helper_->CancelResourceRequests(render_widget_id);
556 } 557 }
557 558
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { 1347 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) {
1347 // Only honor the request if appropriate persmissions are granted. 1348 // Only honor the request if appropriate persmissions are granted.
1348 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), 1349 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(),
1349 path)) 1350 path))
1350 content::GetContentClient()->browser()->OpenItem(path); 1351 content::GetContentClient()->browser()->OpenItem(path);
1351 } 1352 }
1352 1353
1353 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1354 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1354 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); 1355 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size);
1355 } 1356 }
OLDNEW
« no previous file with comments | « content/browser/profiler_message_filter.cc ('k') | content/common/child_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698