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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 2500263003: Port messages sent by WebIDBCursorImpl to Mojo. (Closed)
Patch Set: Add missing include. Created 4 years, 1 month 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 #include "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 // In single process the single process is all there is. 662 // In single process the single process is all there is.
663 webkit_shared_timer_suspended_ = false; 663 webkit_shared_timer_suspended_ = false;
664 widget_count_ = 0; 664 widget_count_ = 0;
665 hidden_widget_count_ = 0; 665 hidden_widget_count_ = 0;
666 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; 666 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs;
667 idle_notifications_to_skip_ = 0; 667 idle_notifications_to_skip_ = 0;
668 668
669 appcache_dispatcher_.reset( 669 appcache_dispatcher_.reset(
670 new AppCacheDispatcher(Get(), new AppCacheFrontendImpl())); 670 new AppCacheDispatcher(Get(), new AppCacheFrontendImpl()));
671 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); 671 dom_storage_dispatcher_.reset(new DomStorageDispatcher());
672 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher( 672 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher());
673 thread_safe_sender()));
674 main_thread_cache_storage_dispatcher_.reset( 673 main_thread_cache_storage_dispatcher_.reset(
675 new CacheStorageDispatcher(thread_safe_sender())); 674 new CacheStorageDispatcher(thread_safe_sender()));
676 embedded_worker_dispatcher_.reset(new EmbeddedWorkerDispatcher()); 675 embedded_worker_dispatcher_.reset(new EmbeddedWorkerDispatcher());
677 676
678 // Note: This may reorder messages from the ResourceDispatcher with respect to 677 // Note: This may reorder messages from the ResourceDispatcher with respect to
679 // other subsystems. 678 // other subsystems.
680 resource_dispatch_throttler_.reset(new ResourceDispatchThrottler( 679 resource_dispatch_throttler_.reset(new ResourceDispatchThrottler(
681 static_cast<RenderThread*>(this), renderer_scheduler_.get(), 680 static_cast<RenderThread*>(this), renderer_scheduler_.get(),
682 base::TimeDelta::FromSecondsD(kThrottledResourceRequestFlushPeriodS), 681 base::TimeDelta::FromSecondsD(kThrottledResourceRequestFlushPeriodS),
683 kMaxResourceRequestsPerFlushWhenThrottled)); 682 kMaxResourceRequestsPerFlushWhenThrottled));
(...skipping 1793 matching lines...) Expand 10 before | Expand all | Expand 10 after
2477 } 2476 }
2478 } 2477 }
2479 2478
2480 void RenderThreadImpl::OnRendererInterfaceRequest( 2479 void RenderThreadImpl::OnRendererInterfaceRequest(
2481 mojom::RendererAssociatedRequest request) { 2480 mojom::RendererAssociatedRequest request) {
2482 DCHECK(!renderer_binding_.is_bound()); 2481 DCHECK(!renderer_binding_.is_bound());
2483 renderer_binding_.Bind(std::move(request)); 2482 renderer_binding_.Bind(std::move(request));
2484 } 2483 }
2485 2484
2486 } // namespace content 2485 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698