Clarify requirements for Storage Service data dir
ContentBrowserClient::GetSandboxedStorageServiceDataDir returns a FilePath in which to isolate sandboxed Storage Service instances. This path must be absolute or the service will reject it and fail to function properly. This CL merely updates the documentation on ContentBrowserClient to clarify the absolute path requirement, and adds a browser process DCHECK at service launch time to make such errors more obvious. This requirement exists in lieu of the browser manually resolving a relative path if needed, because that may be a blocking operation. We don't want it janking the UI thread or delaying service startup. Chrome always provides an absolute path here, so this is more about clarifying requirements for other embedders. Bug: 1090988 Change-Id: I3c407f92ca52104773c784876f074398531aa35a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2476453 Auto-Submit: Ken Rockot <rockot@google.com> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#817588}
Showing
Please register or sign in to comment