/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | file_change_unittest.cc | 12 FileChange::ChangeType change_type = FileChange::ADD_OR_UPDATE; 13 FileChange::FileType file_type = FileChange::FILE_TYPE_FILE; 15 FileChange::Change change1(change_type, file_type); 19 FileChange::Change change2(change_type, file_type); 24 FileChange::Change change3(change_type, FileChange::FILE_TYPE_DIRECTORY); 26 EXPECT_EQ(FileChange::FILE_TYPE_DIRECTORY, change3.file_type()); 31 FileChange [all...] |
H A D | file_change.cc | 15 FileChange::Change::Change(ChangeType change, FileType file_type) 19 std::string FileChange::Change::DebugString() const { 31 case FileChange::FILE_TYPE_FILE: 34 case FileChange::FILE_TYPE_DIRECTORY: 44 FileChange::ChangeList::ChangeList() { 46 FileChange::ChangeList::~ChangeList() { 49 void FileChange::ChangeList::Update(const Change& new_change) { 75 FileChange::ChangeList FileChange::ChangeList::PopAndGetNewList() const { 82 std::string FileChange 91 FileChange::FileChange() { function in class:drive::FileChange [all...] |
H A D | change_list_loader_observer.h | 13 class FileChange; 26 virtual void OnFileChanged(const FileChange& changed_files) {}
|
H A D | file_system_observer.h | 17 class FileChange; 28 virtual void OnFileChanged(const FileChange& file_change) {}
|
H A D | file_change.h | 19 class FileChange { class in namespace:drive 83 typedef std::map<base::FilePath, FileChange::ChangeList> Map; 85 FileChange(); 86 ~FileChange(); 89 const FileChange::Change& new_change); 91 const FileChange::ChangeList& list); 94 FileChange::ChangeType change); 97 FileChange::ChangeType change); 98 void Apply(const FileChange& new_changed_files);
|
/external/chromium_org/chrome/browser/sync_file_system/ |
H A D | file_change_unittest.cc | 15 FileChange AddOrUpdateFile() { 16 return FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, SYNC_FILE_TYPE_FILE); 19 FileChange DeleteFile() { 20 return FileChange(FileChange::FILE_CHANGE_DELETE, SYNC_FILE_TYPE_FILE); 23 FileChange AddDirectory() { 24 return FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 28 FileChange DeleteDirector [all...] |
H A D | file_change.h | 18 class FileChange { class in namespace:sync_file_system 25 FileChange(ChangeType change, SyncFileType file_type); 39 bool operator==(const FileChange& that) const { 51 typedef std::deque<FileChange> List; 57 void Update(const FileChange& new_change); 63 const FileChange& front() const { return list_.front(); } 64 const FileChange& back() const { return list_.back(); }
|
H A D | local_change_processor.h | 17 class FileChange; 34 virtual void ApplyLocalChange(const FileChange& change,
|
H A D | fake_remote_change_processor.h | 26 class FileChange; 31 std::vector<FileChange>, 47 virtual void ApplyRemoteChange(const FileChange& change, 57 const FileChange& change, 61 const FileChange& change);
|
H A D | file_change.cc | 13 FileChange::FileChange( function in class:sync_file_system::FileChange 19 std::string FileChange::DebugString() const { 47 void FileChangeList::Update(const FileChange& new_change) { 53 FileChange& last = list_.back();
|
H A D | remote_change_processor.h | 23 class FileChange; 61 virtual void ApplyRemoteChange(const FileChange& change, 81 const FileChange& change,
|
H A D | mock_local_change_processor.h | 21 void(const FileChange& change, 28 void ApplyLocalChangeStub(const FileChange& change,
|
H A D | mock_remote_change_processor.h | 34 void(const FileChange& change, 44 const FileChange& change,
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
H A D | operation_delegate.h | 15 class FileChange; 36 virtual void OnFileChangedByOperation(const FileChange& changed_files) {}
|
H A D | move_operation.cc | 24 FileChange* changed_files, 41 changed_files->Update(src_path, entry, FileChange::DELETE); 63 changed_files->Update(dest_path, entry, FileChange::ADD_OR_UPDATE); 89 FileChange* changed_files = new FileChange; 109 const FileChange* changed_files,
|
H A D | create_directory_operation.h | 22 class FileChange; 60 const FileChange* changed_directories,
|
H A D | move_operation.h | 28 class FileChange; 59 const FileChange* changed_file,
|
H A D | touch_operation.cc | 96 FileChange changed_files; 100 FileChange::FILE_TYPE_DIRECTORY : FileChange::FILE_TYPE_FILE, 101 FileChange::ADD_OR_UPDATE);
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
H A D | local_file_change_tracker_unittest.cc | 86 const FileChange& expected_change) { 250 FileChange(FileChange::FILE_CHANGE_DELETE, 253 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 256 FileChange(FileChange::FILE_CHANGE_DELETE, 259 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 262 FileChange(FileChang [all...] |
H A D | syncable_file_system_unittest.cc | 74 const FileChange& expected_change) { 207 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 210 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 213 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 241 FileChange(FileChange::FILE_CHANGE_DELETE, 244 FileChange(FileChang [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
H A D | local_to_remote_syncer_unittest.cc | 166 SyncStatusCode RunLocalToRemoteSyncer(FileChange file_change, 276 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 280 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 284 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 308 FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 312 FileChange(FileChang [all...] |
H A D | remote_change_processor_wrapper.cc | 25 const FileChange& change, 45 const FileChange& change,
|
H A D | remote_change_processor_wrapper.h | 29 void ApplyRemoteChange(const FileChange& change, 39 const FileChange& change,
|
H A D | remote_to_local_syncer_unittest.cc | 169 url, FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 175 url, FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE, 229 FileChange::ChangeType change_type, 231 expected_changes_[url].push_back(FileChange(change_type, file_type)); 271 FileChange::FILE_CHANGE_ADD_OR_UPDATE, 274 FileChange::FILE_CHANGE_ADD_OR_UPDATE, 277 FileChange::FILE_CHANGE_ADD_OR_UPDATE, 280 FileChange [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/sync/ |
H A D | entry_revert_performer.cc | 28 FileChange* changed_files) { 59 FileChange::FILE_TYPE_UNKNOWN, // Undetermined type for deleted file. 60 FileChange::DELETE); 62 changed_files->Update(original_path, entry, FileChange::DELETE); 79 changed_files->Update(new_path, entry, FileChange::ADD_OR_UPDATE); 152 FileChange* changed_files = new FileChange; 170 const FileChange* changed_files,
|