Small refactoring of ApplicationManager

R=davemoore@chromium.org

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