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

Side by Side Diff: content/public/test/mock_render_thread.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 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/public/test/mock_render_thread.h" 5 #include "content/public/test/mock_render_thread.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 #if defined(OS_WIN) 221 #if defined(OS_WIN)
222 void MockRenderThread::PreCacheFont(const LOGFONT& log_font) { 222 void MockRenderThread::PreCacheFont(const LOGFONT& log_font) {
223 } 223 }
224 224
225 void MockRenderThread::ReleaseCachedFonts() { 225 void MockRenderThread::ReleaseCachedFonts() {
226 } 226 }
227 227
228 #endif // OS_WIN 228 #endif // OS_WIN
229 229
230 MojoShellConnection* MockRenderThread::GetMojoShellConnection() { 230 ServiceManagerConnection* MockRenderThread::GetServiceManagerConnection() {
231 return nullptr; 231 return nullptr;
232 } 232 }
233 233
234 shell::InterfaceRegistry* MockRenderThread::GetInterfaceRegistry() { 234 shell::InterfaceRegistry* MockRenderThread::GetInterfaceRegistry() {
235 if (!interface_registry_) 235 if (!interface_registry_)
236 interface_registry_.reset(new shell::InterfaceRegistry); 236 interface_registry_.reset(new shell::InterfaceRegistry);
237 return interface_registry_.get(); 237 return interface_registry_.get();
238 } 238 }
239 239
240 shell::InterfaceProvider* MockRenderThread::GetRemoteInterfaces() { 240 shell::InterfaceProvider* MockRenderThread::GetRemoteInterfaces() {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 void MockRenderThread::OnCreateWindow( 305 void MockRenderThread::OnCreateWindow(
306 const mojom::CreateNewWindowParams& params, 306 const mojom::CreateNewWindowParams& params,
307 mojom::CreateNewWindowReply* reply) { 307 mojom::CreateNewWindowReply* reply) {
308 reply->route_id = new_window_routing_id_; 308 reply->route_id = new_window_routing_id_;
309 reply->main_frame_route_id = new_window_main_frame_routing_id_; 309 reply->main_frame_route_id = new_window_main_frame_routing_id_;
310 reply->main_frame_widget_route_id = new_window_main_frame_widget_routing_id_; 310 reply->main_frame_widget_route_id = new_window_main_frame_widget_routing_id_;
311 reply->cloned_session_storage_namespace_id = 0; 311 reply->cloned_session_storage_namespace_id = 0;
312 } 312 }
313 313
314 } // namespace content 314 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/public/utility/content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698