[Hotword, Extensions] Removing EXTERNAL_COMPONENT from IsPolicyLocation, adding a function to check if an extension is a component extension, and updating places IsPolicyLocation was used.

This is necessary for the correct look for hotwording.

BUG=341611, 325439, 289023

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250614 0039d316-1c4b-4281-b951-d872f2087c98
Avoid using GetOffTheRecordProfile in AppListSyncableServiceFactory


AppListSyncableService may be created during the profile creation
before the profile is completely initialized. Calling
GetOffTheRecordProfile at that point is not safe.

BUG=335426

TEST=on Linux with --force-variation-ids=3311944 --force-fieldtrials=NewProfileManagement/Enabled/ and logged in:
-go to Guest mode
-lock the profile
-> no crash

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250615 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250615