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

Unified Diff: chromeos/dbus/mock_shill_device_client.h

Issue 31513002: dbus: Remove MockShillDeviceClient and MockShillIPConfigClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix the build Created 7 years, 2 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
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager.cc ('k') | chromeos/dbus/mock_shill_device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_shill_device_client.h
diff --git a/chromeos/dbus/mock_shill_device_client.h b/chromeos/dbus/mock_shill_device_client.h
deleted file mode 100644
index 6a19aae64b1c2138ca2a195307e6159f8f57bf18..0000000000000000000000000000000000000000
--- a/chromeos/dbus/mock_shill_device_client.h
+++ /dev/null
@@ -1,78 +0,0 @@
-// 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_SHILL_DEVICE_CLIENT_H_
-#define CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_
-
-#include "base/values.h"
-#include "chromeos/dbus/shill_device_client.h"
-#include "chromeos/dbus/shill_property_changed_observer.h"
-#include "dbus/object_path.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace chromeos {
-
-class MockShillDeviceClient : public ShillDeviceClient {
- public:
- MockShillDeviceClient();
- virtual ~MockShillDeviceClient();
-
- MOCK_METHOD1(Init, void(dbus::Bus* bus));
- MOCK_METHOD2(AddPropertyChangedObserver,
- void(const dbus::ObjectPath& device_path,
- ShillPropertyChangedObserver* observer));
- MOCK_METHOD2(RemovePropertyChangedObserver,
- void(const dbus::ObjectPath& device_path,
- ShillPropertyChangedObserver* observer));
- MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& device_path,
- const DictionaryValueCallback& callback));
- MOCK_METHOD2(ProposeScan, void(const dbus::ObjectPath& device_path,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& device_path,
- const std::string& name,
- const base::Value& value,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& device_path,
- const std::string& name,
- const VoidDBusMethodCallback& callback));
- MOCK_METHOD3(AddIPConfig, void(const dbus::ObjectPath& device_path,
- const std::string& method,
- const ObjectPathDBusMethodCallback& callback));
- MOCK_METHOD5(RequirePin, void(const dbus::ObjectPath& device_path,
- const std::string& pin,
- bool require,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD4(EnterPin, void(const dbus::ObjectPath& device_path,
- const std::string& pin,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD5(UnblockPin, void(const dbus::ObjectPath& device_path,
- const std::string& puk,
- const std::string& pin,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD5(ChangePin, void(const dbus::ObjectPath& device_path,
- const std::string& old_pin,
- const std::string& new_pin,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD4(Register, void(const dbus::ObjectPath& device_path,
- const std::string& network_id,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD4(SetCarrier, void(const dbus::ObjectPath& device_path,
- const std::string& carrier,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD3(Reset, void(const dbus::ObjectPath& device_path,
- const base::Closure& callback,
- const ErrorCallback& error_callback));
- MOCK_METHOD0(GetTestInterface, TestInterface*());
-};
-
-} // namespace chromeos
-
-#endif // CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager.cc ('k') | chromeos/dbus/mock_shill_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698