Avoid copying the data string when posting ImportantFileWriter write tasks
When binding the data string to a callback, the existing code copies the data which can be 1MB+ sometimes. Use scoped_ptr to avoid unnecessary data copy. BUG=None Review URL: https://codereview.chromium.org/1079943002 Cr-Commit-Position: refs/heads/master@{#327234}
Showing
Please register or sign in to comment