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

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

Issue 10600009: Support partitioning of storage contexts based on render_id. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased Created 8 years, 5 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
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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 channel_->AddFilter(new AudioRendererHost(audio_manager, media_observer)); 533 channel_->AddFilter(new AudioRendererHost(audio_manager, media_observer));
534 channel_->AddFilter(new VideoCaptureHost()); 534 channel_->AddFilter(new VideoCaptureHost());
535 #endif 535 #endif
536 channel_->AddFilter(new AppCacheDispatcherHost( 536 channel_->AddFilter(new AppCacheDispatcherHost(
537 static_cast<ChromeAppCacheService*>( 537 static_cast<ChromeAppCacheService*>(
538 BrowserContext::GetAppCacheService(browser_context)), 538 BrowserContext::GetAppCacheService(browser_context)),
539 GetID())); 539 GetID()));
540 channel_->AddFilter(new ClipboardMessageFilter()); 540 channel_->AddFilter(new ClipboardMessageFilter());
541 channel_->AddFilter(new DOMStorageMessageFilter(GetID(), 541 channel_->AddFilter(new DOMStorageMessageFilter(GetID(),
542 static_cast<DOMStorageContextImpl*>( 542 static_cast<DOMStorageContextImpl*>(
543 BrowserContext::GetDOMStorageContext(browser_context)))); 543 BrowserContext::GetDOMStorageContext(browser_context, GetID()))));
544 channel_->AddFilter(new IndexedDBDispatcherHost(GetID(), 544 channel_->AddFilter(new IndexedDBDispatcherHost(GetID(),
545 static_cast<IndexedDBContextImpl*>( 545 static_cast<IndexedDBContextImpl*>(
546 BrowserContext::GetIndexedDBContext(browser_context)))); 546 BrowserContext::GetIndexedDBContext(browser_context))));
547 channel_->AddFilter(GeolocationDispatcherHost::New( 547 channel_->AddFilter(GeolocationDispatcherHost::New(
548 GetID(), browser_context->GetGeolocationPermissionContext())); 548 GetID(), browser_context->GetGeolocationPermissionContext()));
549 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); 549 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
550 channel_->AddFilter(gpu_message_filter_); 550 channel_->AddFilter(gpu_message_filter_);
551 #if defined(ENABLE_WEBRTC) 551 #if defined(ENABLE_WEBRTC)
552 channel_->AddFilter(new media_stream::MediaStreamDispatcherHost(GetID())); 552 channel_->AddFilter(new media_stream::MediaStreamDispatcherHost(GetID()));
553 #endif 553 #endif
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 int32 route_id, 1502 int32 route_id,
1503 int32 gpu_process_host_id) { 1503 int32 gpu_process_host_id) {
1504 TRACE_EVENT0("renderer_host", 1504 TRACE_EVENT0("renderer_host",
1505 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1505 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1506 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1506 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1507 gpu_process_host_id, 1507 gpu_process_host_id,
1508 0); 1508 0);
1509 } 1509 }
1510 1510
1511 } // namespace content 1511 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698