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

Side by Side 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 unified diff | 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 »
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 #ifndef DBUS_MOCK_BUS_H_ 5 #ifndef DBUS_MOCK_BUS_H_
6 #define DBUS_MOCK_BUS_H_ 6 #define DBUS_MOCK_BUS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "dbus/bus.h" 9 #include "dbus/bus.h"
10 #include "dbus/object_path.h" 10 #include "dbus/object_path.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 MOCK_METHOD1(UnregisterObjectPath, void(const ObjectPath& object_path)); 58 MOCK_METHOD1(UnregisterObjectPath, void(const ObjectPath& object_path));
59 MOCK_METHOD2(PostTaskToOriginThread, void( 59 MOCK_METHOD2(PostTaskToOriginThread, void(
60 const tracked_objects::Location& from_here, 60 const tracked_objects::Location& from_here,
61 const base::Closure& task)); 61 const base::Closure& task));
62 MOCK_METHOD2(PostTaskToDBusThread, void( 62 MOCK_METHOD2(PostTaskToDBusThread, void(
63 const tracked_objects::Location& from_here, 63 const tracked_objects::Location& from_here,
64 const base::Closure& task)); 64 const base::Closure& task));
65 MOCK_METHOD3(PostDelayedTaskToDBusThread, void( 65 MOCK_METHOD3(PostDelayedTaskToDBusThread, void(
66 const tracked_objects::Location& from_here, 66 const tracked_objects::Location& from_here,
67 const base::Closure& task, 67 const base::Closure& task,
68 int delay_ms)); 68 base::TimeDelta delay));
69 MOCK_METHOD0(HasDBusThread, bool()); 69 MOCK_METHOD0(HasDBusThread, bool());
70 MOCK_METHOD0(AssertOnOriginThread, void()); 70 MOCK_METHOD0(AssertOnOriginThread, void());
71 MOCK_METHOD0(AssertOnDBusThread, void()); 71 MOCK_METHOD0(AssertOnDBusThread, void());
72 }; 72 };
73 73
74 } // namespace dbus 74 } // namespace dbus
75 75
76 #endif // DBUS_MOCK_BUS_H_ 76 #endif // DBUS_MOCK_BUS_H_
OLDNEW
« 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