Make incognito windows not inherit HSTS state from the main profile.

The dynamic HSTS state is loaded by the TransportSecurityPersister. By moving it up into profile_impl (which isn't shared by Incognito profiles), the Incognito profiles don't ever load dynamic state.

BUG=104935
TEST=Inject an HSTS entry for a non-HTTPS site in the main profile using about:net-internals. Open an incognito window and verify that you can still access the HTTP site.


Review URL: http://codereview.chromium.org/8997012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116685 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed