DescriptionAlways delete media galleries FilePathWatchers on the FILE thread.
This CL uses content::BrowserThread::DeleteOnFileThread to guarantee
that FilePathWatchers created by StartFilePathWatchOnMediaTaskRunner()
are always deleted on the thread from which they were created (i.e.
the FILE thread).
BUG=665511
Committed: https://crrev.com/6f5a068ec88b1f533a4bbd040f5dd6352ff112b5
Cr-Commit-Position: refs/heads/master@{#433649}
Patch Set 1 #Patch Set 2 : self-review #Patch Set 3 : fix build error #Patch Set 4 : fix build error #Patch Set 5 : fix build error #Messages
Total messages: 28 (21 generated)
|