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

Side by Side Diff: chrome/browser/sync_file_system/local/syncable_file_system_operation.h

Issue 1194783002: Add fileManagerPrivate.onCopyError event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove const and rename enum. Created 5 years, 6 months 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 24 matching lines...) Expand all
35 void CreateFile(const storage::FileSystemURL& url, 35 void CreateFile(const storage::FileSystemURL& url,
36 bool exclusive, 36 bool exclusive,
37 const StatusCallback& callback) override; 37 const StatusCallback& callback) override;
38 void CreateDirectory(const storage::FileSystemURL& url, 38 void CreateDirectory(const storage::FileSystemURL& url,
39 bool exclusive, 39 bool exclusive,
40 bool recursive, 40 bool recursive,
41 const StatusCallback& callback) override; 41 const StatusCallback& callback) override;
42 void Copy(const storage::FileSystemURL& src_url, 42 void Copy(const storage::FileSystemURL& src_url,
43 const storage::FileSystemURL& dest_url, 43 const storage::FileSystemURL& dest_url,
44 CopyOrMoveOption option, 44 CopyOrMoveOption option,
45 ErrorBehavior error_behavior,
45 const CopyProgressCallback& progress_callback, 46 const CopyProgressCallback& progress_callback,
46 const StatusCallback& callback) override; 47 const StatusCallback& callback) override;
47 void Move(const storage::FileSystemURL& src_url, 48 void Move(const storage::FileSystemURL& src_url,
48 const storage::FileSystemURL& dest_url, 49 const storage::FileSystemURL& dest_url,
49 CopyOrMoveOption option, 50 CopyOrMoveOption option,
50 const StatusCallback& callback) override; 51 const StatusCallback& callback) override;
51 void DirectoryExists(const storage::FileSystemURL& url, 52 void DirectoryExists(const storage::FileSystemURL& url,
52 const StatusCallback& callback) override; 53 const StatusCallback& callback) override;
53 void FileExists(const storage::FileSystemURL& url, 54 void FileExists(const storage::FileSystemURL& url,
54 const StatusCallback& callback) override; 55 const StatusCallback& callback) override;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 StatusCallback completion_callback_; 125 StatusCallback completion_callback_;
125 126
126 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; 127 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); 129 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation);
129 }; 130 };
130 131
131 } // namespace sync_file_system 132 } // namespace sync_file_system
132 133
133 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_ H_ 134 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_SYSTEM_OPERATION_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698