Set kAppType of Settings and Discover apps to CHROME_APP.

The kAppType of browser based custom apps are set based on the
|app_name|, which is not set for the internal apps like Settings and
Discover. Rewrite it for these two apps in corresponding window manager
to make sure both of them can have the correct app type now.

calamity@ is doing a refactoring of the system apps here
(https://docs.google.com/document/d/16CRTWFjU8Ohrn9aSTPuDJcbqh1z7E4wKwyEWstInRh0/edit#),
which will fix all these related issues in long term.

Bug: 877723
Change-Id: Iaaf9fb4998a1416bae4a8c6fa5582d1ff2235326
Reviewed-on: https://chromium-review.googlesource.com/c/1258090
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Reviewed-by: calamity <calamity@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599245}
2 files changed