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

Unified Diff: chromeos/dbus/mock_sms_client.h

Issue 10533006: Support the ModemManager1 interfaces for SMS messages (Closed) Base URL: http://git.chromium.org/git/chromium/src@master
Patch Set: Only deliver messages after call to RequestUpdate 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/mock_sms_client.h
diff --git a/chromeos/dbus/mock_sms_client.h b/chromeos/dbus/mock_sms_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..da6d0d7e69b69b75c82a5949a5f44f2c99a97d4e
--- /dev/null
+++ b/chromeos/dbus/mock_sms_client.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_
+#define CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_
+#pragma once
+
+#include <string>
+
+#include "base/values.h"
+#include "chromeos/dbus/sms_client.h"
+#include "dbus/object_path.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+namespace chromeos {
+
+class MockSMSClient : public SMSClient {
+ public:
+ MockSMSClient();
+ virtual ~MockSMSClient();
+ MOCK_METHOD3(GetAll, void(const std::string& service_name,
+ const dbus::ObjectPath& object_path,
+ const GetAllCallback& callback));
+};
+
+} // namespace chromeos
+
+#endif // CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698