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

Side by Side Diff: mojo/public/cpp/bindings/tests/e2e_perftest.cc

Issue 1972703002: Fix include path for moved thread_task_runner_handle.h header in mojo/ (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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <string> 5 #include <string>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/test/perf_time_logger.h" 13 #include "base/test/perf_time_logger.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "mojo/edk/test/mojo_test_base.h" 15 #include "mojo/edk/test/mojo_test_base.h"
16 #include "mojo/edk/test/scoped_ipc_support.h" 16 #include "mojo/edk/test/scoped_ipc_support.h"
17 #include "mojo/public/cpp/bindings/strong_binding.h" 17 #include "mojo/public/cpp/bindings/strong_binding.h"
18 #include "mojo/public/interfaces/bindings/tests/ping_service.mojom.h" 18 #include "mojo/public/interfaces/bindings/tests/ping_service.mojom.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
21 namespace mojo { 21 namespace mojo {
22 namespace { 22 namespace {
23 23
24 class EchoServiceImpl : public test::EchoService { 24 class EchoServiceImpl : public test::EchoService {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 MojoHandle client_mp, service_mp; 197 MojoHandle client_mp, service_mp;
198 CreateMessagePipe(&client_mp, &service_mp); 198 CreateMessagePipe(&client_mp, &service_mp);
199 WriteMessageWithHandles(mp, "hello", &service_mp, 1); 199 WriteMessageWithHandles(mp, "hello", &service_mp, 1);
200 RunTestOnTaskRunner(edk::test::GetIoTaskRunner(), client_mp, 200 RunTestOnTaskRunner(edk::test::GetIoTaskRunner(), client_mp,
201 "MultiProcessEchoIoThread"); 201 "MultiProcessEchoIoThread");
202 END_CHILD() 202 END_CHILD()
203 } 203 }
204 204
205 } // namespace 205 } // namespace
206 } // namespace mojo 206 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/connector_unittest.cc ('k') | mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698