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

Side by Side Diff: dbus/mock_object_proxy.h

Issue 2340683003: dbus: Mock MockObjectProxy::SetNameOwnerChangedCallback(). (Closed)
Patch Set: Created 4 years, 3 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 | « chromeos/dbus/power_manager_client_unittest.cc ('k') | no next file » | 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_OBJECT_PROXY_H_ 5 #ifndef DBUS_MOCK_OBJECT_PROXY_H_
6 #define DBUS_MOCK_OBJECT_PROXY_H_ 6 #define DBUS_MOCK_OBJECT_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "dbus/message.h" 10 #include "dbus/message.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ResponseCallback callback)); 49 ResponseCallback callback));
50 MOCK_METHOD4(CallMethodWithErrorCallback, void(MethodCall* method_call, 50 MOCK_METHOD4(CallMethodWithErrorCallback, void(MethodCall* method_call,
51 int timeout_ms, 51 int timeout_ms,
52 ResponseCallback callback, 52 ResponseCallback callback,
53 ErrorCallback error_callback)); 53 ErrorCallback error_callback));
54 MOCK_METHOD4(ConnectToSignal, 54 MOCK_METHOD4(ConnectToSignal,
55 void(const std::string& interface_name, 55 void(const std::string& interface_name,
56 const std::string& signal_name, 56 const std::string& signal_name,
57 SignalCallback signal_callback, 57 SignalCallback signal_callback,
58 OnConnectedCallback on_connected_callback)); 58 OnConnectedCallback on_connected_callback));
59 MOCK_METHOD1(SetNameOwnerChangedCallback,
60 void(NameOwnerChangedCallback callback));
59 MOCK_METHOD1(WaitForServiceToBeAvailable, 61 MOCK_METHOD1(WaitForServiceToBeAvailable,
60 void(WaitForServiceToBeAvailableCallback callback)); 62 void(WaitForServiceToBeAvailableCallback callback));
61 MOCK_METHOD0(Detach, void()); 63 MOCK_METHOD0(Detach, void());
62 64
63 protected: 65 protected:
64 ~MockObjectProxy() override; 66 ~MockObjectProxy() override;
65 }; 67 };
66 68
67 } // namespace dbus 69 } // namespace dbus
68 70
69 #endif // DBUS_MOCK_OBJECT_PROXY_H_ 71 #endif // DBUS_MOCK_OBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/power_manager_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698