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

Side by Side Diff: mojo/public/cpp/bindings/tests/router_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/public/cpp/bindings/lib/router.h" 5 #include "mojo/public/cpp/bindings/lib/router.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "mojo/public/cpp/bindings/tests/message_queue.h" 12 #include "mojo/public/cpp/bindings/tests/message_queue.h"
13 #include "mojo/public/cpp/bindings/tests/router_test_util.h" 13 #include "mojo/public/cpp/bindings/tests/router_test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace test { 17 namespace test {
18 namespace { 18 namespace {
19 19
20 class RouterTest : public testing::Test { 20 class RouterTest : public testing::Test {
21 public: 21 public:
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 EXPECT_TRUE(generator.has_responder()); 305 EXPECT_TRUE(generator.has_responder());
306 } 306 }
307 307
308 EXPECT_FALSE(generator.responder_is_valid()); 308 EXPECT_FALSE(generator.responder_is_valid());
309 generator.CompleteWithResponse(); // This should end up doing nothing. 309 generator.CompleteWithResponse(); // This should end up doing nothing.
310 } 310 }
311 311
312 } // namespace 312 } // namespace
313 } // namespace test 313 } // namespace test
314 } // namespace mojo 314 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698