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

Side by Side Diff: mojo/message_pump/message_pump_mojo_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
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/message_pump_mojo.h" 5 #include "mojo/message_pump/message_pump_mojo.h"
6 6
7 #include "base/message_loop/message_loop_test.h" 7 #include "base/message_loop/message_loop_test.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "mojo/common/message_pump_mojo_handler.h" 9 #include "mojo/message_pump/message_pump_mojo_handler.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/mojo/src/mojo/public/cpp/system/core.h" 11 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace common { 14 namespace common {
15 namespace test { 15 namespace test {
16 16
17 scoped_ptr<base::MessagePump> CreateMojoMessagePump() { 17 scoped_ptr<base::MessagePump> CreateMojoMessagePump() {
18 return scoped_ptr<base::MessagePump>(new MessagePumpMojo()); 18 return scoped_ptr<base::MessagePump>(new MessagePumpMojo());
19 } 19 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 for (int i = 0; i < 2; ++i) { 115 for (int i = 0; i < 2; ++i) {
116 base::RunLoop run_loop; 116 base::RunLoop run_loop;
117 run_loop.RunUntilIdle(); 117 run_loop.RunUntilIdle();
118 } 118 }
119 EXPECT_EQ(1, handler.error_count()); 119 EXPECT_EQ(1, handler.error_count());
120 } 120 }
121 121
122 } // namespace test 122 } // namespace test
123 } // namespace common 123 } // namespace common
124 } // namespace mojo 124 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/message_pump/message_pump_mojo_handler.h ('k') | mojo/message_pump/mojo_message_pump_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698