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

Side by Side Diff: mojo/message_pump/handle_watcher_unittest.cc

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep on system_for_component Created 5 years, 4 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 | « mojo/message_pump/handle_watcher.cc ('k') | mojo/message_pump/message_pump_mojo.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/common/handle_watcher.h" 5 #include "mojo/message_pump/handle_watcher.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/test/simple_test_tick_clock.h" 14 #include "base/test/simple_test_tick_clock.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 #include "mojo/common/message_pump_mojo.h" 16 #include "mojo/message_pump/message_pump_mojo.h"
17 #include "mojo/common/time_helper.h" 17 #include "mojo/message_pump/time_helper.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/mojo/src/mojo/public/cpp/system/core.h" 19 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
20 #include "third_party/mojo/src/mojo/public/cpp/test_support/test_utils.h" 20 #include "third_party/mojo/src/mojo/public/cpp/test_support/test_utils.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace common { 23 namespace common {
24 namespace test { 24 namespace test {
25 25
26 enum MessageLoopConfig { 26 enum MessageLoopConfig {
27 MESSAGE_LOOP_CONFIG_DEFAULT = 0, 27 MESSAGE_LOOP_CONFIG_DEFAULT = 0,
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 message_loop.task_runner(), 474 message_loop.task_runner(),
475 &run_loop, &threads_active_counter)); 475 &run_loop, &threads_active_counter));
476 } 476 }
477 run_loop.Run(); 477 run_loop.Run();
478 ASSERT_EQ(0, threads_active_counter); 478 ASSERT_EQ(0, threads_active_counter);
479 } 479 }
480 480
481 } // namespace test 481 } // namespace test
482 } // namespace common 482 } // namespace common
483 } // namespace mojo 483 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/message_pump/handle_watcher.cc ('k') | mojo/message_pump/message_pump_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698