Add support for using DOM Distiller in incognito.
Currently the DOM Distiller does not work in incognito, since the source for the chrome-distiller:// scheme has not been registered. This CL moves the functionality for registering the scheme to a generic place and it is now used by both ProfileImpl and by OffTheRecordProfile during profile creation. It also makes both the normal profile and the incognito profile use the same instance of the DomDistillerService. BUG=380036 Review URL: https://codereview.chromium.org/608653002 Cr-Commit-Position: refs/heads/master@{#296974}
Showing
Please register or sign in to comment