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

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

Issue 265043004: Revert 267948 "Merge GeolocationDispatcherHostImpl with Geolocat..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 | « trunk/src/content/browser/geolocation/geolocation_dispatcher_host.cc ('k') | no next file » | 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 #include <algorithm> 10 #include <algorithm>
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 AddFilter(new ClipboardMessageFilter); 695 AddFilter(new ClipboardMessageFilter);
696 AddFilter(new DOMStorageMessageFilter( 696 AddFilter(new DOMStorageMessageFilter(
697 GetID(), 697 GetID(),
698 storage_partition_impl_->GetDOMStorageContext())); 698 storage_partition_impl_->GetDOMStorageContext()));
699 AddFilter(new IndexedDBDispatcherHost( 699 AddFilter(new IndexedDBDispatcherHost(
700 GetID(), 700 GetID(),
701 storage_partition_impl_->GetURLRequestContext(), 701 storage_partition_impl_->GetURLRequestContext(),
702 storage_partition_impl_->GetIndexedDBContext(), 702 storage_partition_impl_->GetIndexedDBContext(),
703 ChromeBlobStorageContext::GetFor(browser_context))); 703 ChromeBlobStorageContext::GetFor(browser_context)));
704 704
705 geolocation_dispatcher_host_ = new GeolocationDispatcherHost( 705 geolocation_dispatcher_host_ = GeolocationDispatcherHost::New(
706 GetID(), browser_context->GetGeolocationPermissionContext()); 706 GetID(), browser_context->GetGeolocationPermissionContext());
707 AddFilter(geolocation_dispatcher_host_); 707 AddFilter(geolocation_dispatcher_host_);
708 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); 708 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
709 AddFilter(gpu_message_filter_); 709 AddFilter(gpu_message_filter_);
710 #if defined(ENABLE_WEBRTC) 710 #if defined(ENABLE_WEBRTC)
711 AddFilter(new WebRTCIdentityServiceHost( 711 AddFilter(new WebRTCIdentityServiceHost(
712 GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); 712 GetID(), storage_partition_impl_->GetWebRTCIdentityStore()));
713 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID()); 713 peer_connection_tracker_host_ = new PeerConnectionTrackerHost(GetID());
714 AddFilter(peer_connection_tracker_host_.get()); 714 AddFilter(peer_connection_tracker_host_.get());
715 AddFilter(new MediaStreamDispatcherHost( 715 AddFilter(new MediaStreamDispatcherHost(
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 mojo::ScopedMessagePipeHandle handle) { 2074 mojo::ScopedMessagePipeHandle handle) {
2075 mojo_activation_required_ = true; 2075 mojo_activation_required_ = true;
2076 MaybeActivateMojo(); 2076 MaybeActivateMojo();
2077 2077
2078 mojo::AllocationScope scope; 2078 mojo::AllocationScope scope;
2079 mojo_application_host_->shell_client()->AcceptConnection(service_name, 2079 mojo_application_host_->shell_client()->AcceptConnection(service_name,
2080 handle.Pass()); 2080 handle.Pass());
2081 } 2081 }
2082 2082
2083 } // namespace content 2083 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/browser/geolocation/geolocation_dispatcher_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698