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

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

Issue 11441012: PPB_UDPSocket_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 8 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) 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 #include <algorithm> 10 #include <algorithm>
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 GetID(), 531 GetID(),
532 storage_partition_impl_->GetIndexedDBContext())); 532 storage_partition_impl_->GetIndexedDBContext()));
533 channel_->AddFilter(GeolocationDispatcherHost::New( 533 channel_->AddFilter(GeolocationDispatcherHost::New(
534 GetID(), browser_context->GetGeolocationPermissionContext())); 534 GetID(), browser_context->GetGeolocationPermissionContext()));
535 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); 535 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
536 channel_->AddFilter(gpu_message_filter_); 536 channel_->AddFilter(gpu_message_filter_);
537 #if defined(ENABLE_WEBRTC) 537 #if defined(ENABLE_WEBRTC)
538 channel_->AddFilter(new MediaStreamDispatcherHost(GetID())); 538 channel_->AddFilter(new MediaStreamDispatcherHost(GetID()));
539 #endif 539 #endif
540 #if defined(ENABLE_PLUGINS) 540 #if defined(ENABLE_PLUGINS)
541 channel_->AddFilter(new PepperMessageFilter(PepperMessageFilter::RENDERER, 541 channel_->AddFilter(new PepperMessageFilter(PROCESS_TYPE_RENDERER,
542 GetID(), browser_context)); 542 GetID(), browser_context));
543 #endif 543 #endif
544 #if defined(ENABLE_INPUT_SPEECH) 544 #if defined(ENABLE_INPUT_SPEECH)
545 channel_->AddFilter(new InputTagSpeechDispatcherHost( 545 channel_->AddFilter(new InputTagSpeechDispatcherHost(
546 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext(), 546 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext(),
547 browser_context->GetSpeechRecognitionPreferences())); 547 browser_context->GetSpeechRecognitionPreferences()));
548 channel_->AddFilter(new SpeechRecognitionDispatcherHost( 548 channel_->AddFilter(new SpeechRecognitionDispatcherHost(
549 GetID(), storage_partition_impl_->GetURLRequestContext(), 549 GetID(), storage_partition_impl_->GetURLRequestContext(),
550 browser_context->GetSpeechRecognitionPreferences())); 550 browser_context->GetSpeechRecognitionPreferences()));
551 #endif 551 #endif
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 int32 gpu_process_host_id) { 1586 int32 gpu_process_host_id) {
1587 TRACE_EVENT0("renderer_host", 1587 TRACE_EVENT0("renderer_host",
1588 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1588 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1589 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1589 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1590 gpu_process_host_id, 1590 gpu_process_host_id,
1591 false, 1591 false,
1592 0); 1592 0);
1593 } 1593 }
1594 1594
1595 } // namespace content 1595 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698