Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: storage/browser/fileapi/file_system_operation_impl.h

Issue 1455403003: Add an option to specify requested fields for fetching metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const StatusCallback& callback) override; 46 const StatusCallback& callback) override;
47 void Move(const FileSystemURL& src_url, 47 void Move(const FileSystemURL& src_url,
48 const FileSystemURL& dest_url, 48 const FileSystemURL& dest_url,
49 CopyOrMoveOption option, 49 CopyOrMoveOption option,
50 const StatusCallback& callback) override; 50 const StatusCallback& callback) override;
51 void DirectoryExists(const FileSystemURL& url, 51 void DirectoryExists(const FileSystemURL& url,
52 const StatusCallback& callback) override; 52 const StatusCallback& callback) override;
53 void FileExists(const FileSystemURL& url, 53 void FileExists(const FileSystemURL& url,
54 const StatusCallback& callback) override; 54 const StatusCallback& callback) override;
55 void GetMetadata(const FileSystemURL& url, 55 void GetMetadata(const FileSystemURL& url,
56 int fields,
56 const GetMetadataCallback& callback) override; 57 const GetMetadataCallback& callback) override;
57 void ReadDirectory(const FileSystemURL& url, 58 void ReadDirectory(const FileSystemURL& url,
58 const ReadDirectoryCallback& callback) override; 59 const ReadDirectoryCallback& callback) override;
59 void Remove(const FileSystemURL& url, 60 void Remove(const FileSystemURL& url,
60 bool recursive, 61 bool recursive,
61 const StatusCallback& callback) override; 62 const StatusCallback& callback) override;
62 void Write(const FileSystemURL& url, 63 void Write(const FileSystemURL& url,
63 scoped_ptr<FileWriterDelegate> writer_delegate, 64 scoped_ptr<FileWriterDelegate> writer_delegate,
64 scoped_ptr<net::URLRequest> blob_request, 65 scoped_ptr<net::URLRequest> blob_request,
65 const WriteCallback& callback) override; 66 const WriteCallback& callback) override;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 OperationType pending_operation_; 196 OperationType pending_operation_;
196 197
197 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; 198 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_;
198 199
199 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); 200 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl);
200 }; 201 };
201 202
202 } // namespace storage 203 } // namespace storage
203 204
204 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ 205 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_system_operation.h ('k') | storage/browser/fileapi/file_system_operation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698