| Index: storage/browser/fileapi/transient_file_util.cc
|
| diff --git a/webkit/browser/fileapi/transient_file_util.cc b/storage/browser/fileapi/transient_file_util.cc
|
| similarity index 75%
|
| rename from webkit/browser/fileapi/transient_file_util.cc
|
| rename to storage/browser/fileapi/transient_file_util.cc
|
| index 4cac5caad840c930a82a5d387f95090a69c7822a..e0d078a9fae0af83da9e2c9f77d819c89fa1916d 100644
|
| --- a/webkit/browser/fileapi/transient_file_util.cc
|
| +++ b/storage/browser/fileapi/transient_file_util.cc
|
| @@ -2,19 +2,19 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "webkit/browser/fileapi/transient_file_util.h"
|
| +#include "storage/browser/fileapi/transient_file_util.h"
|
|
|
| #include <string>
|
|
|
| #include "base/bind.h"
|
| #include "base/files/file_path.h"
|
| -#include "webkit/browser/fileapi/file_system_operation_context.h"
|
| -#include "webkit/browser/fileapi/file_system_url.h"
|
| -#include "webkit/browser/fileapi/isolated_context.h"
|
| +#include "storage/browser/fileapi/file_system_operation_context.h"
|
| +#include "storage/browser/fileapi/file_system_url.h"
|
| +#include "storage/browser/fileapi/isolated_context.h"
|
|
|
| -using webkit_blob::ScopedFile;
|
| +using storage::ScopedFile;
|
|
|
| -namespace fileapi {
|
| +namespace storage {
|
|
|
| namespace {
|
|
|
| @@ -43,13 +43,11 @@ ScopedFile TransientFileUtil::CreateSnapshotFile(
|
| DCHECK(!url.filesystem_id().empty());
|
|
|
| ScopedFile scoped_file(
|
| - *platform_path,
|
| - ScopedFile::DELETE_ON_SCOPE_OUT,
|
| - context->task_runner());
|
| + *platform_path, ScopedFile::DELETE_ON_SCOPE_OUT, context->task_runner());
|
| scoped_file.AddScopeOutCallback(
|
| base::Bind(&RevokeFileSystem, url.filesystem_id()), NULL);
|
|
|
| return scoped_file.Pass();
|
| }
|
|
|
| -} // namespace fileapi
|
| +} // namespace storage
|
|
|