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

Side by Side Diff: chromeos/dbus/mock_modem_messaging_client.h

Issue 13959009: dbus: Remove unused GMock-ed clients. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_DBUS_MOCK_MODEM_MESSAGING_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_MODEM_MESSAGING_CLIENT_H_
7
8 #include <string>
9
10 #include "base/values.h"
11 #include "chromeos/dbus/modem_messaging_client.h"
12 #include "dbus/object_path.h"
13 #include "testing/gmock/include/gmock/gmock.h"
14
15 namespace chromeos {
16
17 class MockModemMessagingClient : public ModemMessagingClient {
18 public:
19 MockModemMessagingClient();
20 virtual ~MockModemMessagingClient();
21
22 MOCK_METHOD3(SetSmsReceivedHandler, void(const std::string& service_name,
23 const dbus::ObjectPath& object_path,
24 const SmsReceivedHandler& handler));
25 MOCK_METHOD2(ResetSmsReceivedHandler,
26 void(const std::string& service_name,
27 const dbus::ObjectPath& object_path));
28 MOCK_METHOD4(Delete, void(const std::string& service_name,
29 const dbus::ObjectPath& object_path,
30 const dbus::ObjectPath& sms_path,
31 const DeleteCallback& callback));
32 MOCK_METHOD3(List, void(const std::string& service_name,
33 const dbus::ObjectPath& object_path,
34 const ListCallback& callback));
35 };
36
37 } // namespace chromeos
38
39 #endif // CHROMEOS_DBUS_MOCK_MODEM_MESSAGING_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_introspectable_client.cc ('k') | chromeos/dbus/mock_modem_messaging_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698