shill: Move remaining mock constructors/destructors to .cc.
Non-scientific experiment of 'FEATURES=test emerge-x86-mario -1 shill' shows
real time reduction from 77 seconds to 59 seconds.
BUG=chromium-os:19691
TEST=unit tests
Change-Id: Iba905587cce64648bebc69d03fe9ecb3a3a8b90e
Reviewed-on: http://gerrit.chromium.org/gerrit/6793
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
diff --git a/mock_manager.h b/mock_manager.h
index e8f709d..21da55e 100644
--- a/mock_manager.h
+++ b/mock_manager.h
@@ -5,27 +5,19 @@
#ifndef SHILL_MOCK_MANAGER_
#define SHILL_MOCK_MANAGER_
-#include <base/memory/ref_counted.h>
+#include <base/basictypes.h>
#include <gmock/gmock.h>
#include "shill/manager.h"
namespace shill {
-class ControlInterface;
-class DeviceInfo;
-class EventDispatcher;
-class GLib;
-class PropertyStore;
-
class MockManager : public Manager {
public:
MockManager(ControlInterface *control_interface,
EventDispatcher *dispatcher,
- GLib *glib)
- : Manager(control_interface, dispatcher, glib, "", "", "") {
- }
- ~MockManager() {}
+ GLib *glib);
+ virtual ~MockManager();
MOCK_METHOD0(device_info, DeviceInfo*(void));
MOCK_METHOD0(store, PropertyStore*(void));