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

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

Issue 10454058: Remove PPB_Transport_Dev API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « chrome/test/ui/ppapi_uitest.cc ('k') | content/content_browser.gypi » ('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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 SocketStreamDispatcherHost* socket_stream_dispatcher_host = 525 SocketStreamDispatcherHost* socket_stream_dispatcher_host =
526 new SocketStreamDispatcherHost(GetID(), 526 new SocketStreamDispatcherHost(GetID(),
527 new RendererURLRequestContextSelector(browser_context, GetID()), 527 new RendererURLRequestContextSelector(browser_context, GetID()),
528 resource_context); 528 resource_context);
529 channel_->AddFilter(socket_stream_dispatcher_host); 529 channel_->AddFilter(socket_stream_dispatcher_host);
530 530
531 channel_->AddFilter(new WorkerMessageFilter(GetID(), resource_context, 531 channel_->AddFilter(new WorkerMessageFilter(GetID(), resource_context,
532 base::Bind(&RenderWidgetHelper::GetNextRoutingID, 532 base::Bind(&RenderWidgetHelper::GetNextRoutingID,
533 base::Unretained(widget_helper_.get())))); 533 base::Unretained(widget_helper_.get()))));
534 534
535 #if defined(ENABLE_P2P_APIS) 535 #if defined(ENABLE_WEBRTC)
536 channel_->AddFilter(new content::P2PSocketDispatcherHost(resource_context)); 536 channel_->AddFilter(new content::P2PSocketDispatcherHost(resource_context));
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()));
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( 1373 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost(
1374 int32 surface_id, 1374 int32 surface_id,
1375 uint64 surface_handle, 1375 uint64 surface_handle,
1376 int32 route_id, 1376 int32 route_id,
1377 int32 gpu_process_host_id) { 1377 int32 gpu_process_host_id) {
1378 TRACE_EVENT0("renderer_host", 1378 TRACE_EVENT0("renderer_host",
1379 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1379 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1380 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, 1380 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id,
1381 gpu_process_host_id); 1381 gpu_process_host_id);
1382 } 1382 }
OLDNEW
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698