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

Side by Side Diff: chrome/browser/chromeos/drive/fileapi/async_file_util.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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/fileapi/async_file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "storage/browser/fileapi/async_file_util.h" 10 #include "storage/browser/fileapi/async_file_util.h"
(...skipping 18 matching lines...) Expand all
29 void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context, 29 void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context,
30 const storage::FileSystemURL& url, 30 const storage::FileSystemURL& url,
31 const EnsureFileExistsCallback& callback) override; 31 const EnsureFileExistsCallback& callback) override;
32 void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context, 32 void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context,
33 const storage::FileSystemURL& url, 33 const storage::FileSystemURL& url,
34 bool exclusive, 34 bool exclusive,
35 bool recursive, 35 bool recursive,
36 const StatusCallback& callback) override; 36 const StatusCallback& callback) override;
37 void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context, 37 void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context,
38 const storage::FileSystemURL& url, 38 const storage::FileSystemURL& url,
39 int fields,
39 const GetFileInfoCallback& callback) override; 40 const GetFileInfoCallback& callback) override;
40 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, 41 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context,
41 const storage::FileSystemURL& url, 42 const storage::FileSystemURL& url,
42 const ReadDirectoryCallback& callback) override; 43 const ReadDirectoryCallback& callback) override;
43 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, 44 void Touch(scoped_ptr<storage::FileSystemOperationContext> context,
44 const storage::FileSystemURL& url, 45 const storage::FileSystemURL& url,
45 const base::Time& last_access_time, 46 const base::Time& last_access_time,
46 const base::Time& last_modified_time, 47 const base::Time& last_modified_time,
47 const StatusCallback& callback) override; 48 const StatusCallback& callback) override;
48 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, 49 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const CreateSnapshotFileCallback& callback) override; 82 const CreateSnapshotFileCallback& callback) override;
82 83
83 private: 84 private:
84 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); 85 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil);
85 }; 86 };
86 87
87 } // namespace internal 88 } // namespace internal
88 } // namespace drive 89 } // namespace drive
89 90
90 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ 91 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/fileapi/async_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698