shill: add ability to blacklist devices

BUG=chromium-os:16787
TEST=ebuild + manual

manual testing: set up mac80211_hwsim and hostapd on a device.
run shill, observe that it core dumps. run shill again, with
"--black-list=mon.wlan1", observe that it does not core dump.

Change-Id: Id43ed8badc2d8ac414c8a2ceb7487ecb85dc851c
Reviewed-on: http://gerrit.chromium.org/gerrit/4414
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/shill_daemon.cc b/shill_daemon.cc
index a39b4b9..ae2577f 100644
--- a/shill_daemon.cc
+++ b/shill_daemon.cc
@@ -34,6 +34,10 @@
     manager_(control_, &dispatcher_, glib) { }
 Daemon::~Daemon() {}
 
+void Daemon::AddDeviceToBlackList(const string &device_name) {
+  manager_.AddDeviceToBlackList(device_name);
+}
+
 void Daemon::Start() {
   RTNLHandler::GetInstance()->Start(&dispatcher_, &sockets_);
   manager_.Start();