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

Unified Diff: dbus/mock_bus.h

Issue 9582044: Convert uses of int ms to TimeDelta in dbus. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix mock PostDelayedTask function interface. Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/end_to_end_async_unittest.cc ('k') | dbus/test_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/mock_bus.h
diff --git a/dbus/mock_bus.h b/dbus/mock_bus.h
index 463790a2bf30ead261c559eb14fffe2e1283a30f..cce4c14f4ac9847a1c8dd2d7df5904a6493d4a2f 100644
--- a/dbus/mock_bus.h
+++ b/dbus/mock_bus.h
@@ -65,7 +65,7 @@ class MockBus : public Bus {
MOCK_METHOD3(PostDelayedTaskToDBusThread, void(
const tracked_objects::Location& from_here,
const base::Closure& task,
- int delay_ms));
+ base::TimeDelta delay));
MOCK_METHOD0(HasDBusThread, bool());
MOCK_METHOD0(AssertOnOriginThread, void());
MOCK_METHOD0(AssertOnDBusThread, void());
« no previous file with comments | « dbus/end_to_end_async_unittest.cc ('k') | dbus/test_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698