summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/buffered_socket_writer.h
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-18 23:57:59 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-18 23:57:59 +0000
commit0f9c4556b26ffb55cea457dfeeec9be2924612d1 (patch)
tree5ea72169f6ebe9786491a0d445e13b1b66e44e1d /remoting/protocol/buffered_socket_writer.h
parent0cc6fc92e4440bdd6329c64e019a65f4b38edbc7 (diff)
downloadchromium_src-0f9c4556b26ffb55cea457dfeeec9be2924612d1.zip
chromium_src-0f9c4556b26ffb55cea457dfeeec9be2924612d1.tar.gz
chromium_src-0f9c4556b26ffb55cea457dfeeec9be2924612d1.tar.bz2
CrOS: Fix file_watchers_ DCHECK in SelectFileDialogExtensionBrowserTest
The CrOS file picker closes the dialog immediately, without running the page unload handler. This meant we were leaking file watcher objects, causing a DCHECK in SelectFileDialogExtensionBrowserTest. Fixed by calling it manually when needed. Also, we need to clean up the current directory's watcher, because we don't have a directory-change event in the unload handler that we can use to look up the directory path. BUG=104692,103491 TEST=browser_tests, also verify you can open a file with control-O Review URL: http://codereview.chromium.org/8602009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/buffered_socket_writer.h')
0 files changed, 0 insertions, 0 deletions