Chromium Code Reviews
DescriptionClear DevTools temp storage
Now that DevTools caches CPU and heap profiles in temporary files we need to be careful to remove these files. The files are deleted in case a profile is removed as a result of user action and on DevTools shutdown.
To make sure we don't leave any garbage the temproary storage is also cleared on first attempt to create a new temp file. A SharedWorker is used to synchronize between DevTools front-ends when clearing temp files to avoid removing temp files that might be used by another front-end.
BUG=327298, 324769
R=alph@chromium.org, pfeldman@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165135
Patch Set 1 #
Total comments: 22
Patch Set 2 : Comments addressed #
Messages
Total messages: 7 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||