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

Side by Side Diff: dbus/bus_unittest.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « dbus/bus.cc ('k') | dbus/end_to_end_async_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "dbus/bus.h" 5 #include "dbus/bus.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h"
9 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "dbus/exported_object.h" 12 #include "dbus/exported_object.h"
13 #include "dbus/object_path.h" 13 #include "dbus/object_path.h"
14 #include "dbus/object_proxy.h" 14 #include "dbus/object_proxy.h"
15 #include "dbus/scoped_dbus_error.h" 15 #include "dbus/scoped_dbus_error.h"
16 #include "dbus/test_service.h" 16 #include "dbus/test_service.h"
17 17
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 bus->UnlistenForServiceOwnerChange("org.chromium.TestService", callback1); 415 bus->UnlistenForServiceOwnerChange("org.chromium.TestService", callback1);
416 bus->UnlistenForServiceOwnerChange("org.chromium.TestService", callback2); 416 bus->UnlistenForServiceOwnerChange("org.chromium.TestService", callback2);
417 base::RunLoop().RunUntilIdle(); 417 base::RunLoop().RunUntilIdle();
418 418
419 // Shut down synchronously. 419 // Shut down synchronously.
420 bus->ShutdownAndBlock(); 420 bus->ShutdownAndBlock();
421 EXPECT_TRUE(bus->shutdown_completed()); 421 EXPECT_TRUE(bus->shutdown_completed());
422 } 422 }
423 423
424 } // namespace dbus 424 } // namespace dbus
OLDNEW
« no previous file with comments | « dbus/bus.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698