Fix regression caused by rebase
Fix regression caused by rebase

Some important code was deleted in this rebase after review:

https://codereview.chromium.org/696563002/diff/100001/mojo/application_manager/application_manager.cc

TBR=aa@chromium.org
BUG=

Review URL: https://codereview.chromium.org/728643002

collinjackson/mojo,collinjackson/mojo,afandria/mojo,jianglu/mojo,chinmaygarde/mojo,collinjackson/mojo,jianglu/mojo,afandria/mojo,jianglu/mojo,chinmaygarde/mojo,chinmaygarde/mojo,jianglu/mojo,collinjackson/mojo,afandria/mojo,chinmaygarde/mojo,collinjackson/mojo,chinmaygarde/mojo,collinjackson/mojo,afandria/mojo,jianglu/mojo,afandria/mojo,collinjackson/mojo,jianglu/mojo,chinmaygarde/mojo,chinmaygarde/mojo,collinjackson/mojo,collinjackson/mojo,afandria/mojo,jianglu/mojo,chinmaygarde/mojo,chinmaygarde/mojo,afandria/mojo,jianglu/mojo,afandria/mojo