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

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

Issue 33053002: Pepper: Move FileIO host from renderer to browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 | Annotate | Revision Log
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 scoped_ptr<net::URLRequest> blob_request, 63 scoped_ptr<net::URLRequest> blob_request,
64 const WriteCallback& callback) OVERRIDE; 64 const WriteCallback& callback) OVERRIDE;
65 virtual void Truncate(const fileapi::FileSystemURL& url, int64 length, 65 virtual void Truncate(const fileapi::FileSystemURL& url, int64 length,
66 const StatusCallback& callback) OVERRIDE; 66 const StatusCallback& callback) OVERRIDE;
67 virtual void TouchFile(const fileapi::FileSystemURL& url, 67 virtual void TouchFile(const fileapi::FileSystemURL& url,
68 const base::Time& last_access_time, 68 const base::Time& last_access_time,
69 const base::Time& last_modified_time, 69 const base::Time& last_modified_time,
70 const StatusCallback& callback) OVERRIDE; 70 const StatusCallback& callback) OVERRIDE;
71 virtual void OpenFile(const fileapi::FileSystemURL& url, 71 virtual void OpenFile(const fileapi::FileSystemURL& url,
72 int file_flags, 72 int file_flags,
73 base::ProcessHandle peer_handle,
74 const OpenFileCallback& callback) OVERRIDE; 73 const OpenFileCallback& callback) OVERRIDE;
75 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE; 74 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE;
76 virtual void CreateSnapshotFile( 75 virtual void CreateSnapshotFile(
77 const fileapi::FileSystemURL& path, 76 const fileapi::FileSystemURL& path,
78 const SnapshotFileCallback& callback) OVERRIDE; 77 const SnapshotFileCallback& callback) OVERRIDE;
79 virtual void CopyInForeignFile(const base::FilePath& src_local_disk_path, 78 virtual void CopyInForeignFile(const base::FilePath& src_local_disk_path,
80 const fileapi::FileSystemURL& dest_url, 79 const fileapi::FileSystemURL& dest_url,
81 const StatusCallback& callback) OVERRIDE; 80 const StatusCallback& callback) OVERRIDE;
82 virtual void RemoveFile(const fileapi::FileSystemURL& url, 81 virtual void RemoveFile(const fileapi::FileSystemURL& url,
83 const StatusCallback& callback) OVERRIDE; 82 const StatusCallback& callback) OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool is_directory_operation_enabled_; 126 bool is_directory_operation_enabled_;
128 127
129 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_; 128 base::WeakPtrFactory<SyncableFileSystemOperation> weak_factory_;
130 129
131 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); 130 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation);
132 }; 131 };
133 132
134 } // namespace sync_file_system 133 } // namespace sync_file_system
135 134
136 #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