| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/fileapi/transient_file_util.h" | 5 #include "webkit/browser/fileapi/transient_file_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "webkit/fileapi/file_system_operation_context.h" | 11 #include "webkit/fileapi/file_system_operation_context.h" |
| 12 #include "webkit/fileapi/file_system_url.h" | 12 #include "webkit/fileapi/file_system_url.h" |
| 13 #include "webkit/fileapi/isolated_context.h" | 13 #include "webkit/fileapi/isolated_context.h" |
| 14 | 14 |
| 15 using webkit_blob::ScopedFile; | 15 using webkit_blob::ScopedFile; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 46 *platform_path, | 46 *platform_path, |
| 47 ScopedFile::DELETE_ON_SCOPE_OUT, | 47 ScopedFile::DELETE_ON_SCOPE_OUT, |
| 48 context->task_runner()); | 48 context->task_runner()); |
| 49 scoped_file.AddScopeOutCallback( | 49 scoped_file.AddScopeOutCallback( |
| 50 base::Bind(&RevokeFileSystem, url.filesystem_id()), NULL); | 50 base::Bind(&RevokeFileSystem, url.filesystem_id()), NULL); |
| 51 | 51 |
| 52 return scoped_file.Pass(); | 52 return scoped_file.Pass(); |
| 53 } | 53 } |
| 54 | 54 |
| 55 } // namespace fileapi | 55 } // namespace fileapi |
| OLD | NEW |