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_supplicant_interface_proxy.h b/mock_supplicant_interface_proxy.h
index ea69639..bbaecb5 100644
--- a/mock_supplicant_interface_proxy.h
+++ b/mock_supplicant_interface_proxy.h
@@ -5,17 +5,18 @@
 #ifndef MOCK_SUPPLICANT_INTERFACE_PROXY_H_
 #define MOCK_SUPPLICANT_INTERFACE_PROXY_H_
 
+#include <base/basictypes.h>
 #include <gmock/gmock.h>
 
+#include "shill/refptr_types.h"
 #include "shill/supplicant_interface_proxy_interface.h"
 
 namespace shill {
 
 class MockSupplicantInterfaceProxy : public SupplicantInterfaceProxyInterface {
  public:
-  explicit MockSupplicantInterfaceProxy(const WiFiRefPtr &wifi) :
-      wifi_(wifi) {}
-  virtual ~MockSupplicantInterfaceProxy() {}
+  explicit MockSupplicantInterfaceProxy(const WiFiRefPtr &wifi);
+  virtual ~MockSupplicantInterfaceProxy();
 
   MOCK_METHOD1(AddNetwork, ::DBus::Path(
       const std::map<std::string, ::DBus::Variant> &args));
@@ -26,9 +27,10 @@
   MOCK_METHOD1(SelectNetwork, void(const ::DBus::Path &network));
 
  private:
-  // wifi_ is not used explicitly. but its presence here tests that
-  // WiFi::Stop properly removes cyclic references.
+  // wifi_ is not used explicitly but its presence here tests that WiFi::Stop
+  // properly removes cyclic references.
   WiFiRefPtr wifi_;
+
   DISALLOW_COPY_AND_ASSIGN(MockSupplicantInterfaceProxy);
 };