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

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

Issue 10879075: Shard DatabaseTracker (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
« 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 #endif 571 #endif
572 channel_->AddFilter(new FileAPIMessageFilter( 572 channel_->AddFilter(new FileAPIMessageFilter(
573 GetID(), 573 GetID(),
574 browser_context->GetRequestContext(), 574 browser_context->GetRequestContext(),
575 BrowserContext::GetFileSystemContext(browser_context), 575 BrowserContext::GetFileSystemContext(browser_context),
576 ChromeBlobStorageContext::GetFor(browser_context))); 576 ChromeBlobStorageContext::GetFor(browser_context)));
577 channel_->AddFilter(new OrientationMessageFilter()); 577 channel_->AddFilter(new OrientationMessageFilter());
578 channel_->AddFilter(new FileUtilitiesMessageFilter(GetID())); 578 channel_->AddFilter(new FileUtilitiesMessageFilter(GetID()));
579 channel_->AddFilter(new MimeRegistryMessageFilter()); 579 channel_->AddFilter(new MimeRegistryMessageFilter());
580 channel_->AddFilter(new DatabaseMessageFilter( 580 channel_->AddFilter(new DatabaseMessageFilter(
581 BrowserContext::GetDatabaseTracker(browser_context))); 581 storage_partition_impl_->GetDatabaseTracker()));
582 #if defined(OS_MACOSX) 582 #if defined(OS_MACOSX)
583 channel_->AddFilter(new TextInputClientMessageFilter(GetID())); 583 channel_->AddFilter(new TextInputClientMessageFilter(GetID()));
584 #elif defined(OS_WIN) 584 #elif defined(OS_WIN)
585 channel_->AddFilter(new FontCacheDispatcher()); 585 channel_->AddFilter(new FontCacheDispatcher());
586 #endif 586 #endif
587 587
588 SocketStreamDispatcherHost* socket_stream_dispatcher_host = 588 SocketStreamDispatcherHost* socket_stream_dispatcher_host =
589 new SocketStreamDispatcherHost(GetID(), 589 new SocketStreamDispatcherHost(GetID(),
590 new RendererURLRequestContextSelector(browser_context, GetID()), 590 new RendererURLRequestContextSelector(browser_context, GetID()),
591 resource_context); 591 resource_context);
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 int32 route_id, 1518 int32 route_id,
1519 int32 gpu_process_host_id) { 1519 int32 gpu_process_host_id) {
1520 TRACE_EVENT0("renderer_host", 1520 TRACE_EVENT0("renderer_host",
1521 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1521 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1522 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1522 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1523 gpu_process_host_id, 1523 gpu_process_host_id,
1524 0); 1524 0);
1525 } 1525 }
1526 1526
1527 } // namespace content 1527 } // 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