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

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

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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/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/mojo/service_registry_impl.h" 12 #include "content/common/mojo/service_registry_impl.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_view_impl.h" 15 #include "content/renderer/render_view_impl.h"
16 #include "ipc/ipc_message_utils.h" 16 #include "ipc/ipc_message_utils.h"
17 #include "ipc/ipc_sync_message.h" 17 #include "ipc/ipc_sync_message.h"
18 #include "ipc/message_filter.h" 18 #include "ipc/message_filter.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 void MockRenderThread::OnDuplicateSection( 247 void MockRenderThread::OnDuplicateSection(
248 base::SharedMemoryHandle renderer_handle, 248 base::SharedMemoryHandle renderer_handle,
249 base::SharedMemoryHandle* browser_handle) { 249 base::SharedMemoryHandle* browser_handle) {
250 // We don't have to duplicate the input handles since RenderViewTest does not 250 // We don't have to duplicate the input handles since RenderViewTest does not
251 // separate a browser process from a renderer process. 251 // separate a browser process from a renderer process.
252 *browser_handle = renderer_handle; 252 *browser_handle = renderer_handle;
253 } 253 }
254 #endif // defined(OS_WIN) 254 #endif // defined(OS_WIN)
255 255
256 } // namespace content 256 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_blob_url_request_context.cc ('k') | content/public/test/mock_storage_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698