Delete unused downloads page asset.
[chromium-blink-merge.git] / storage / browser / fileapi / transient_file_util.h
blobb14969b0f44d0ed9580ea0b9d9e5c7afa4d2c3b0
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
3 // found in the LICENSE file.
5 #ifndef STORAGE_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_
6 #define STORAGE_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "storage/browser/fileapi/local_file_util.h"
10 #include "storage/browser/storage_browser_export.h"
12 namespace storage {
14 class FileSystemOperationContext;
16 class STORAGE_EXPORT_PRIVATE TransientFileUtil
17 : public LocalFileUtil {
18 public:
19 TransientFileUtil() {}
20 ~TransientFileUtil() override {}
22 // LocalFileUtil overrides.
23 storage::ScopedFile CreateSnapshotFile(
24 FileSystemOperationContext* context,
25 const FileSystemURL& url,
26 base::File::Error* error,
27 base::File::Info* file_info,
28 base::FilePath* platform_path) override;
30 private:
31 DISALLOW_COPY_AND_ASSIGN(TransientFileUtil);
34 } // namespace storage
36 #endif // STORAGE_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_