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

Side by Side Diff: chrome/browser/sync_file_system/local/syncable_file_system_operation.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 CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const StatusCallback& callback) override; 47 const StatusCallback& callback) override;
48 void Move(const storage::FileSystemURL& src_url, 48 void Move(const storage::FileSystemURL& src_url,
49 const storage::FileSystemURL& dest_url, 49 const storage::FileSystemURL& dest_url,
50 CopyOrMoveOption option, 50 CopyOrMoveOption option,
51 const StatusCallback& callback) override; 51 const StatusCallback& callback) override;
52 void DirectoryExists(const storage::FileSystemURL& url, 52 void DirectoryExists(const storage::FileSystemURL& url,
53 const StatusCallback& callback) override; 53 const StatusCallback& callback) override;
54 void FileExists(const storage::FileSystemURL& url, 54 void FileExists(const storage::FileSystemURL& url,
55 const StatusCallback& callback) override; 55 const StatusCallback& callback) override;
56 void GetMetadata(const storage::FileSystemURL& url, 56 void GetMetadata(const storage::FileSystemURL& url,
57 int fields,
57 const GetMetadataCallback& callback) override; 58 const GetMetadataCallback& callback) override;
58 void ReadDirectory(const storage::FileSystemURL& url, 59 void ReadDirectory(const storage::FileSystemURL& url,
59 const ReadDirectoryCallback& callback) override; 60 const ReadDirectoryCallback& callback) override;
60 void Remove(const storage::FileSystemURL& url, 61 void Remove(const storage::FileSystemURL& url,
61 bool recursive, 62 bool recursive,
62 const StatusCallback& callback) override; 63 const StatusCallback& callback) override;
63 void Write(const storage::FileSystemURL& url, 64 void Write(const storage::FileSystemURL& url,
64 scoped_ptr<storage::FileWriterDelegate> writer_delegate, 65 scoped_ptr<storage::FileWriterDelegate> writer_delegate,
65 scoped_ptr<net::URLRequest> blob_request, 66 scoped_ptr<net::URLRequest> blob_request,
66 const WriteCallback& callback) override; 67 const WriteCallback& callback) override;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 StatusCallback completion_callback_; 126 StatusCallback completion_callback_;
126 127
127 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; 128 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_;
128 129
129 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); 130 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation);
130 }; 131 };
131 132
132 } // namespace sync_file_system 133 } // namespace sync_file_system
133 134
134 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_ H_ 135 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698