[go: nahoru, domu]

Make SavedFileService non-null in incognito

The chrome.fileSystem API functions that use this service could be
called from an incognito context (e.g. in guest sessions), so the
incognito profile should be properly handled - this cl redirects
the to the original browser context's service (given that the
SavedFilesService depends on ExtensionPrefs service, which is
redirected to original browser context in incognito).

BUG=788986

Change-Id: I04ff197acffd531d388a009aecb2993177c1ca7b
Reviewed-on: https://chromium-review.googlesource.com/854979
Commit-Queue: Toni Barzic <tbarzic@chromium.org>
Reviewed-by: Ben Wells <benwells@chromium.org>
Cr-Commit-Position: refs/heads/master@{#528874}
2 files changed