anchor.diff:      }).then((_) => device);
     }
   
  -  Future _pushToAdbServer(AdbClientTcp client, ProgressMonitor monitor) {
  -    // Start ADT on the device.
  -    //return client.startActivity(AdbApplication.CHROME_ADT);
  -
  -    // TODO: a SocketException, code == -100 here often means that the App Dev
  -    // Tool is not running on the device.
  -    // Setup port forwarding to DEPLOY_PORT on the device.
  -    return client.forwardTcp(DEPLOY_PORT, DEPLOY_PORT).then((_) {
  -      // Push the app binary on DEPLOY_PORT.
  -      ADBDeployer dep = new ADBDeployer(appContainer, _prefs);
  -      return dep.deploy(monitor);
  -
  -      //return _sendHttpPush('127.0.0.1', monitor);
  -    });
  -  }
  -
     Future _expectHttpOkResponse(List<int> msg) {
       String response = new String.fromCharCodes(msg);
       List<String> lines = response.split('\r\n');
  
positive.code:          return _expectHttpOkResponse(msg);
      }).then((String response) {
        _updateContainerEtag(response);
        monitor.worked(8);
        httpRequest = _buildLaunchRequest(_getTarget());
        return _setTimeout(_pushRequestToDevice(httpRequest));
      }).then((msg) {
        monitor.worked(6);
        return _expectHttpOkResponse(msg);
      }).whenComplete(() {
        _doWhenComplete();
      });
      });
    }
  
  }
  
  
  class USBDeployer extends AbstractDeployer {
    static const int DEPLOY_PORT = 2424;
  
negative.code:     monitor.start('Deploying…', maxWork: 10);
  
      _logger.info('deploying application to ip host');
      HttpDeployer dep= new HttpDeployer(appContainer, _prefs, target);
      return dep.deploy(monitor);
    }
  
    /**
  