shill: Almost complete support for terminating dhcpcd.

BUG=chromium-os:16365,chromium-os:16013
TEST=unit tests

Change-Id: I00a46e8364fc4de3cc48ef72c1b0a9a88e95e6a0
Reviewed-on: http://gerrit.chromium.org/gerrit/2435
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
diff --git a/glib.h b/glib.h
index 274d3a2..8aa4da3 100644
--- a/glib.h
+++ b/glib.h
@@ -12,6 +12,10 @@
 // A concrete implementation of the GLib interface.
 class GLib : public GLibInterface {
  public:
+  virtual guint ChildWatchAdd(GPid pid,
+                              GChildWatchFunc function,
+                              gpointer data);
+  virtual gboolean SourceRemove(guint tag);
   virtual gboolean SpawnAsync(const gchar *working_directory,
                               gchar **argv,
                               gchar **envp,
@@ -20,6 +24,7 @@
                               gpointer user_data,
                               GPid *child_pid,
                               GError **error);
+  virtual void SpawnClosePID(GPid pid);
 };
 
 }  // namespace shill