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

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

Issue 10836216: Add SiteInstance parameters to IndexedDBContext calls (Closed) Base URL: http://git.chromium.org/chromium/src.git@isolated-storage
Patch Set: Address ajwong's comments Created 8 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
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/resource_context_impl.cc » ('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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 static_cast<ChromeAppCacheService*>( 541 static_cast<ChromeAppCacheService*>(
542 BrowserContext::GetAppCacheService(browser_context)), 542 BrowserContext::GetAppCacheService(browser_context)),
543 GetID())); 543 GetID()));
544 channel_->AddFilter(new ClipboardMessageFilter()); 544 channel_->AddFilter(new ClipboardMessageFilter());
545 channel_->AddFilter( 545 channel_->AddFilter(
546 new DOMStorageMessageFilter( 546 new DOMStorageMessageFilter(
547 GetID(), 547 GetID(),
548 storage_partition_impl_->GetDOMStorageContext())); 548 storage_partition_impl_->GetDOMStorageContext()));
549 channel_->AddFilter(new IndexedDBDispatcherHost(GetID(), 549 channel_->AddFilter(new IndexedDBDispatcherHost(GetID(),
550 static_cast<IndexedDBContextImpl*>( 550 static_cast<IndexedDBContextImpl*>(
551 BrowserContext::GetIndexedDBContext(browser_context)))); 551 storage_partition_impl_->GetIndexedDBContext())));
552 channel_->AddFilter(GeolocationDispatcherHost::New( 552 channel_->AddFilter(GeolocationDispatcherHost::New(
553 GetID(), browser_context->GetGeolocationPermissionContext())); 553 GetID(), browser_context->GetGeolocationPermissionContext()));
554 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); 554 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
555 channel_->AddFilter(gpu_message_filter_); 555 channel_->AddFilter(gpu_message_filter_);
556 #if defined(ENABLE_WEBRTC) 556 #if defined(ENABLE_WEBRTC)
557 channel_->AddFilter(new media_stream::MediaStreamDispatcherHost(GetID())); 557 channel_->AddFilter(new media_stream::MediaStreamDispatcherHost(GetID()));
558 #endif 558 #endif
559 channel_->AddFilter( 559 channel_->AddFilter(
560 GetContentClient()->browser()->AllowPepperPrivateFileAPI() ? 560 GetContentClient()->browser()->AllowPepperPrivateFileAPI() ?
561 new PepperUnsafeFileMessageFilter(GetID(), browser_context->GetPath()) : 561 new PepperUnsafeFileMessageFilter(GetID(), browser_context->GetPath()) :
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 int32 route_id, 1532 int32 route_id,
1533 int32 gpu_process_host_id) { 1533 int32 gpu_process_host_id) {
1534 TRACE_EVENT0("renderer_host", 1534 TRACE_EVENT0("renderer_host",
1535 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1535 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1536 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1536 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1537 gpu_process_host_id, 1537 gpu_process_host_id,
1538 0); 1538 0);
1539 } 1539 }
1540 1540
1541 } // namespace content 1541 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698