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

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

Issue 10545133: Support the ModemManager1 interfaces for SMS messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « chromeos/dbus/mock_dbus_thread_manager.cc ('k') | chromeos/dbus/mock_modem_messaging_client.h » ('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 CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "base/values.h" 11 #include "base/values.h"
10 #include "chromeos/dbus/gsm_sms_client.h" 12 #include "chromeos/dbus/gsm_sms_client.h"
11 #include "dbus/object_path.h" 13 #include "dbus/object_path.h"
12 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
13 15
14 namespace chromeos { 16 namespace chromeos {
15 17
16 class MockGsmSMSClient : public GsmSMSClient { 18 class MockGsmSMSClient : public GsmSMSClient {
17 public: 19 public:
18 MockGsmSMSClient(); 20 MockGsmSMSClient();
(...skipping 16 matching lines...) Expand all
35 MOCK_METHOD3(List, void(const std::string& service_name, 37 MOCK_METHOD3(List, void(const std::string& service_name,
36 const dbus::ObjectPath& object_path, 38 const dbus::ObjectPath& object_path,
37 const ListCallback& callback)); 39 const ListCallback& callback));
38 MOCK_METHOD2(RequestUpdate, void(const std::string& service_name, 40 MOCK_METHOD2(RequestUpdate, void(const std::string& service_name,
39 const dbus::ObjectPath& object_path)); 41 const dbus::ObjectPath& object_path));
40 }; 42 };
41 43
42 } // namespace chromeos 44 } // namespace chromeos
43 45
44 #endif // CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ 46 #endif // CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager.cc ('k') | chromeos/dbus/mock_modem_messaging_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698