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

Side by Side Diff: components/arc/arc_bridge_service_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « components/arc/arc_bridge_bootstrap.cc ('k') | components/arc/input/arc_input_bridge_impl.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <utility> 5 #include <utility>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/macros.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "chromeos/dbus/dbus_thread_manager.h" 11 #include "chromeos/dbus/dbus_thread_manager.h"
11 #include "components/arc/arc_bridge_service_impl.h" 12 #include "components/arc/arc_bridge_service_impl.h"
12 #include "components/arc/test/fake_arc_bridge_instance.h" 13 #include "components/arc/test/fake_arc_bridge_instance.h"
13 #include "ipc/mojo/scoped_ipc_support.h" 14 #include "ipc/mojo/scoped_ipc_support.h"
14 #include "mojo/public/cpp/environment/environment.h" 15 #include "mojo/public/cpp/environment/environment.h"
15 #include "mojo/public/cpp/system/message_pipe.h" 16 #include "mojo/public/cpp/system/message_pipe.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 namespace arc { 19 namespace arc {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ASSERT_TRUE(state() == ArcBridgeService::State::STOPPING || 175 ASSERT_TRUE(state() == ArcBridgeService::State::STOPPING ||
175 state() == ArcBridgeService::State::STOPPED); 176 state() == ArcBridgeService::State::STOPPED);
176 177
177 base::RunLoop run_loop; 178 base::RunLoop run_loop;
178 run_loop.Run(); 179 run_loop.Run();
179 180
180 ASSERT_EQ(ArcBridgeService::State::STOPPED, state()); 181 ASSERT_EQ(ArcBridgeService::State::STOPPED, state());
181 } 182 }
182 183
183 } // namespace arc 184 } // namespace arc
OLDNEW
« no previous file with comments | « components/arc/arc_bridge_bootstrap.cc ('k') | components/arc/input/arc_input_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698