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

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

Issue 2710023006: Move NetworkStateNotifier from core (and web) into platform/network (Closed)
Patch Set: rebase Created 3 years, 9 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 #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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 #include "services/service_manager/public/cpp/connector.h" 141 #include "services/service_manager/public/cpp/connector.h"
142 #include "services/service_manager/public/cpp/interface_provider.h" 142 #include "services/service_manager/public/cpp/interface_provider.h"
143 #include "services/service_manager/public/cpp/interface_registry.h" 143 #include "services/service_manager/public/cpp/interface_registry.h"
144 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" 144 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h"
145 #include "services/ui/public/interfaces/constants.mojom.h" 145 #include "services/ui/public/interfaces/constants.mojom.h"
146 #include "skia/ext/event_tracer_impl.h" 146 #include "skia/ext/event_tracer_impl.h"
147 #include "skia/ext/skia_memory_dump_provider.h" 147 #include "skia/ext/skia_memory_dump_provider.h"
148 #include "third_party/WebKit/public/platform/WebCache.h" 148 #include "third_party/WebKit/public/platform/WebCache.h"
149 #include "third_party/WebKit/public/platform/WebImageGenerator.h" 149 #include "third_party/WebKit/public/platform/WebImageGenerator.h"
150 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h" 150 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h"
151 #include "third_party/WebKit/public/platform/WebNetworkStateNotifier.h"
151 #include "third_party/WebKit/public/platform/WebString.h" 152 #include "third_party/WebKit/public/platform/WebString.h"
152 #include "third_party/WebKit/public/platform/WebThread.h" 153 #include "third_party/WebKit/public/platform/WebThread.h"
153 #include "third_party/WebKit/public/platform/scheduler/child/compositor_worker_s cheduler.h" 154 #include "third_party/WebKit/public/platform/scheduler/child/compositor_worker_s cheduler.h"
154 #include "third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_ worker_scheduler.h" 155 #include "third_party/WebKit/public/platform/scheduler/child/webthread_impl_for_ worker_scheduler.h"
155 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 156 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
156 #include "third_party/WebKit/public/web/WebDatabase.h" 157 #include "third_party/WebKit/public/web/WebDatabase.h"
157 #include "third_party/WebKit/public/web/WebDocument.h" 158 #include "third_party/WebKit/public/web/WebDocument.h"
158 #include "third_party/WebKit/public/web/WebFrame.h" 159 #include "third_party/WebKit/public/web/WebFrame.h"
159 #include "third_party/WebKit/public/web/WebKit.h" 160 #include "third_party/WebKit/public/web/WebKit.h"
160 #include "third_party/WebKit/public/web/WebNetworkStateNotifier.h"
161 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 161 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
162 #include "third_party/WebKit/public/web/WebScriptController.h" 162 #include "third_party/WebKit/public/web/WebScriptController.h"
163 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" 163 #include "third_party/WebKit/public/web/WebSecurityPolicy.h"
164 #include "third_party/WebKit/public/web/WebView.h" 164 #include "third_party/WebKit/public/web/WebView.h"
165 #include "third_party/skia/include/core/SkGraphics.h" 165 #include "third_party/skia/include/core/SkGraphics.h"
166 #include "ui/base/layout.h" 166 #include "ui/base/layout.h"
167 #include "ui/base/ui_base_switches.h" 167 #include "ui/base/ui_base_switches.h"
168 #include "ui/gl/gl_switches.h" 168 #include "ui/gl/gl_switches.h"
169 169
170 #if defined(OS_ANDROID) 170 #if defined(OS_ANDROID)
(...skipping 2209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2380 } 2380 }
2381 } 2381 }
2382 2382
2383 void RenderThreadImpl::OnRendererInterfaceRequest( 2383 void RenderThreadImpl::OnRendererInterfaceRequest(
2384 mojom::RendererAssociatedRequest request) { 2384 mojom::RendererAssociatedRequest request) {
2385 DCHECK(!renderer_binding_.is_bound()); 2385 DCHECK(!renderer_binding_.is_bound());
2386 renderer_binding_.Bind(std::move(request)); 2386 renderer_binding_.Bind(std::move(request));
2387 } 2387 }
2388 2388
2389 } // namespace content 2389 } // namespace content
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_render_thread_observer.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698