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

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

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/public/test/test_service.h » ('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 #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"
11 #include "content/common/frame_messages.h" 11 #include "content/common/frame_messages.h"
12 #include "content/common/render_message_filter.mojom.h" 12 #include "content/common/render_message_filter.mojom.h"
13 #include "content/common/view_messages.h" 13 #include "content/common/view_messages.h"
14 #include "content/public/renderer/render_thread_observer.h" 14 #include "content/public/renderer/render_thread_observer.h"
15 #include "content/renderer/render_thread_impl.h" 15 #include "content/renderer/render_thread_impl.h"
16 #include "content/renderer/render_view_impl.h" 16 #include "content/renderer/render_view_impl.h"
17 #include "ipc/ipc_message_utils.h" 17 #include "ipc/ipc_message_utils.h"
18 #include "ipc/ipc_sync_message.h" 18 #include "ipc/ipc_sync_message.h"
19 #include "ipc/message_filter.h" 19 #include "ipc/message_filter.h"
20 #include "services/shell/public/cpp/interface_provider.h" 20 #include "services/service_manager/public/cpp/interface_provider.h"
21 #include "services/shell/public/cpp/interface_registry.h" 21 #include "services/service_manager/public/cpp/interface_registry.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "third_party/WebKit/public/web/WebScriptController.h" 23 #include "third_party/WebKit/public/web/WebScriptController.h"
24 24
25 namespace content { 25 namespace content {
26 26
27 namespace { 27 namespace {
28 28
29 class MockRenderMessageFilterImpl : public mojom::RenderMessageFilter { 29 class MockRenderMessageFilterImpl : public mojom::RenderMessageFilter {
30 public: 30 public:
31 explicit MockRenderMessageFilterImpl(MockRenderThread* thread) 31 explicit MockRenderMessageFilterImpl(MockRenderThread* thread)
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 void MockRenderThread::OnCreateWindow( 303 void MockRenderThread::OnCreateWindow(
304 const mojom::CreateNewWindowParams& params, 304 const mojom::CreateNewWindowParams& params,
305 mojom::CreateNewWindowReply* reply) { 305 mojom::CreateNewWindowReply* reply) {
306 reply->route_id = new_window_routing_id_; 306 reply->route_id = new_window_routing_id_;
307 reply->main_frame_route_id = new_window_main_frame_routing_id_; 307 reply->main_frame_route_id = new_window_main_frame_routing_id_;
308 reply->main_frame_widget_route_id = new_window_main_frame_widget_routing_id_; 308 reply->main_frame_widget_route_id = new_window_main_frame_widget_routing_id_;
309 reply->cloned_session_storage_namespace_id = 0; 309 reply->cloned_session_storage_namespace_id = 0;
310 } 310 }
311 311
312 } // namespace content 312 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/public/test/test_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698