summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_proxy.h
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-05 09:24:07 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-05 09:24:07 +0000
commitf9644ccd38835611b68adfaab7071366a3aaf208 (patch)
tree0f8bdfa153e6c0fe7785dcd05c11c8c563bbea87 /ipc/ipc_channel_proxy.h
parent92a814bfe2eb051dc3e852ff343fe097e5e2ddb3 (diff)
downloadchromium_src-f9644ccd38835611b68adfaab7071366a3aaf208.zip
chromium_src-f9644ccd38835611b68adfaab7071366a3aaf208.tar.gz
chromium_src-f9644ccd38835611b68adfaab7071366a3aaf208.tar.bz2
Fix possible crash in RecursiveOperationDelegate and throttle # of parallel tasks
- RecursiveOperationDelegate::ProcessFile() could fail /w calling its callback in an synchronous way, so it must be always called asynchronously or at the end of a synchronous block. - LocalFilesystemOperation::SetUp() has to be also called before calling into RecursiveOperationDelegate. - This also introduces a constant kMaxInflightOperations to cap the max # of inflight operations at the same time. BUG=146215 TEST=tested with locally patched test, http://crbug.com/172424 will add one TEST=LocalFileSystemOperationTest.TestRemoveSuccessRecursive for throttle Review URL: https://codereview.chromium.org/12177006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180668 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_proxy.h')
0 files changed, 0 insertions, 0 deletions