Remove /etc/send_metrics code

BUG=chromium-os:3655
TEST=None

Change-Id: If35a25a02cc7e587bbe3f5bc5b5de60b9195ec15
Reviewed-on: http://gerrit.chromium.org/gerrit/2649
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
(cherry picked from commit fd82105222aa7e132f3dc35a7a6ba7915d0eccd4)
Reviewed-on: http://gerrit.chromium.org/gerrit/2655
diff --git a/session_manager_setup.sh b/session_manager_setup.sh
index 9490d3a..f499a47 100755
--- a/session_manager_setup.sh
+++ b/session_manager_setup.sh
@@ -82,8 +82,6 @@
 # Note: If this script is renamed, ChildJob::kWindowManagerSuffix needs to be
 # updated to contain the new name.  See http://crosbug.com/7901 for more info.
 WM_SCRIPT="/sbin/window-manager-session.sh"
-SEND_METRICS="/etc/send_metrics"
-CONSENT_FILE="$DATA_DIR/Consent To Send Stats"
 
 # xdg-open is used to open downloaded files.
 # It runs sensible-browser, which uses $BROWSER.
@@ -124,15 +122,6 @@
     /proc/sys/kernel/core_pattern
 fi
 
-if [ -f "$SEND_METRICS" ]; then
-  if [ ! -f "$CONSENT_FILE" ]; then
-    # Automatically opt-in to Chrome OS stats collecting.  This does
-    # not have to be a cryptographically random string, but we do need
-    # a 32 byte, printable string.
-    head -c 8 /dev/random | openssl md5 > "$CONSENT_FILE"
-  fi
-fi
-
 # We need to delete these files as Chrome may have left them around from
 # its prior run (if it crashed).
 rm -f ${DATA_DIR}/SingletonLock