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

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

Issue 23615009: Stub out initial NavigationController browser implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update to ToT Created 7 years, 3 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 | « no previous file | content/browser/service_worker/OWNERS » ('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 #include <algorithm> 10 #include <algorithm>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" 85 #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
86 #include "content/browser/renderer_host/pepper/pepper_renderer_connection.h" 86 #include "content/browser/renderer_host/pepper/pepper_renderer_connection.h"
87 #include "content/browser/renderer_host/render_message_filter.h" 87 #include "content/browser/renderer_host/render_message_filter.h"
88 #include "content/browser/renderer_host/render_view_host_delegate.h" 88 #include "content/browser/renderer_host/render_view_host_delegate.h"
89 #include "content/browser/renderer_host/render_view_host_impl.h" 89 #include "content/browser/renderer_host/render_view_host_impl.h"
90 #include "content/browser/renderer_host/render_widget_helper.h" 90 #include "content/browser/renderer_host/render_widget_helper.h"
91 #include "content/browser/renderer_host/render_widget_host_impl.h" 91 #include "content/browser/renderer_host/render_widget_host_impl.h"
92 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" 92 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
93 #include "content/browser/renderer_host/text_input_client_message_filter.h" 93 #include "content/browser/renderer_host/text_input_client_message_filter.h"
94 #include "content/browser/resolve_proxy_msg_helper.h" 94 #include "content/browser/resolve_proxy_msg_helper.h"
95 #include "content/browser/service_worker/service_worker_context.h"
96 #include "content/browser/service_worker/service_worker_dispatcher_host.h"
95 #include "content/browser/speech/input_tag_speech_dispatcher_host.h" 97 #include "content/browser/speech/input_tag_speech_dispatcher_host.h"
96 #include "content/browser/speech/speech_recognition_dispatcher_host.h" 98 #include "content/browser/speech/speech_recognition_dispatcher_host.h"
97 #include "content/browser/storage_partition_impl.h" 99 #include "content/browser/storage_partition_impl.h"
98 #include "content/browser/streams/stream_context.h" 100 #include "content/browser/streams/stream_context.h"
99 #include "content/browser/tracing/trace_message_filter.h" 101 #include "content/browser/tracing/trace_message_filter.h"
100 #include "content/browser/webui/web_ui_controller_factory_registry.h" 102 #include "content/browser/webui/web_ui_controller_factory_registry.h"
101 #include "content/browser/worker_host/worker_message_filter.h" 103 #include "content/browser/worker_host/worker_message_filter.h"
102 #include "content/browser/worker_host/worker_storage_partition.h" 104 #include "content/browser/worker_host/worker_storage_partition.h"
103 #include "content/common/child_process_host_impl.h" 105 #include "content/common/child_process_host_impl.h"
104 #include "content/common/child_process_messages.h" 106 #include "content/common/child_process_messages.h"
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 channel_->AddFilter(new AppCacheDispatcherHost( 597 channel_->AddFilter(new AppCacheDispatcherHost(
596 storage_partition_impl_->GetAppCacheService(), 598 storage_partition_impl_->GetAppCacheService(),
597 GetID())); 599 GetID()));
598 channel_->AddFilter(new ClipboardMessageFilter); 600 channel_->AddFilter(new ClipboardMessageFilter);
599 channel_->AddFilter(new DOMStorageMessageFilter( 601 channel_->AddFilter(new DOMStorageMessageFilter(
600 GetID(), 602 GetID(),
601 storage_partition_impl_->GetDOMStorageContext())); 603 storage_partition_impl_->GetDOMStorageContext()));
602 channel_->AddFilter(new IndexedDBDispatcherHost( 604 channel_->AddFilter(new IndexedDBDispatcherHost(
603 GetID(), 605 GetID(),
604 storage_partition_impl_->GetIndexedDBContext())); 606 storage_partition_impl_->GetIndexedDBContext()));
607 channel_->AddFilter(new ServiceWorkerDispatcherHost(
608 storage_partition_impl_->GetServiceWorkerContext()));
605 if (IsGuest()) { 609 if (IsGuest()) {
606 if (!g_browser_plugin_geolocation_context.Get().get()) { 610 if (!g_browser_plugin_geolocation_context.Get().get()) {
607 g_browser_plugin_geolocation_context.Get() = 611 g_browser_plugin_geolocation_context.Get() =
608 new BrowserPluginGeolocationPermissionContext(); 612 new BrowserPluginGeolocationPermissionContext();
609 } 613 }
610 channel_->AddFilter(GeolocationDispatcherHost::New( 614 channel_->AddFilter(GeolocationDispatcherHost::New(
611 GetID(), g_browser_plugin_geolocation_context.Get().get())); 615 GetID(), g_browser_plugin_geolocation_context.Get().get()));
612 } else { 616 } else {
613 channel_->AddFilter(GeolocationDispatcherHost::New( 617 channel_->AddFilter(GeolocationDispatcherHost::New(
614 GetID(), browser_context->GetGeolocationPermissionContext())); 618 GetID(), browser_context->GetGeolocationPermissionContext()));
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 // Skip widgets in other processes. 1788 // Skip widgets in other processes.
1785 if (widget->GetProcess()->GetID() != GetID()) 1789 if (widget->GetProcess()->GetID() != GetID())
1786 continue; 1790 continue;
1787 1791
1788 RenderViewHost* rvh = RenderViewHost::From(widget); 1792 RenderViewHost* rvh = RenderViewHost::From(widget);
1789 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1793 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1790 } 1794 }
1791 } 1795 }
1792 1796
1793 } // namespace content 1797 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698