/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
update_operation_unittest.cc | 55 EXPECT_EQ(FILE_ERROR_OK, error); 68 EXPECT_EQ(FILE_ERROR_OK, error); 80 EXPECT_EQ(FILE_ERROR_OK, error); 92 EXPECT_EQ(FILE_ERROR_OK, error); 126 FileError error = FILE_ERROR_OK; 159 EXPECT_EQ(FILE_ERROR_OK, error); 171 EXPECT_EQ(FILE_ERROR_OK, error); 183 EXPECT_EQ(FILE_ERROR_OK, error); 225 EXPECT_EQ(FILE_ERROR_OK, error); 238 EXPECT_EQ(FILE_ERROR_OK, error) [all...] |
download_operation.cc | 29 // resource locally, and returns FILE_ERROR_OK with |cache_file_path| storing 32 // returns FILE_ERROR_OK with |cache_file_path| storing the path to the 35 // returns FILE_ERROR_OK, but |cache_file_path| is kept empty. 49 if (error != FILE_ERROR_OK) 75 return FILE_ERROR_OK; 81 return FILE_ERROR_OK; 87 return FILE_ERROR_OK; 91 if (error != FILE_ERROR_OK) 105 return FILE_ERROR_OK; 135 if (error != FILE_ERROR_OK) [all...] |
update_operation.cc | 43 if (error != FILE_ERROR_OK) 54 if (error != FILE_ERROR_OK) 67 return FILE_ERROR_OK; 85 if (error != FILE_ERROR_OK) 91 if (error != FILE_ERROR_OK) 156 if (error != FILE_ERROR_OK || local_state->content_is_same) { 183 if (drive_error != FILE_ERROR_OK) { 211 if (error != FILE_ERROR_OK) { 216 callback.Run(FILE_ERROR_OK);
|
create_file_operation.cc | 42 if (error == FILE_ERROR_OK) { 47 FILE_ERROR_EXISTS : FILE_ERROR_OK; 56 file_path.DirName(), &parent) != FILE_ERROR_OK || 96 if (error != FILE_ERROR_OK) 108 if (error == FILE_ERROR_OK) { 124 DLOG_IF(WARNING, cache_store_error != FILE_ERROR_OK) 217 if (error != FILE_ERROR_OK) { 247 if (error == FILE_ERROR_OK)
|
touch_operation_unittest.cc | 41 EXPECT_EQ(FILE_ERROR_OK, error); 44 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(kTestPath, &entry));
|
get_file_for_saving_operation_unittest.cc | 77 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(drive_path, &src_entry)); 90 EXPECT_EQ(FILE_ERROR_OK, error); 137 EXPECT_EQ(FILE_ERROR_OK, error); 138 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(drive_path, &src_entry)); 147 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(drive_path, &src_entry));
|
move_operation.cc | 28 if (error != FILE_ERROR_OK) 34 if (error != FILE_ERROR_OK) 63 if (error != FILE_ERROR_OK) 68 return FILE_ERROR_OK; 119 if (error == FILE_ERROR_OK) {
|
open_file_operation.cc | 58 // So call OpenFileAfterCreateFile directly with FILE_ERROR_OK 60 OpenFileAfterCreateFile(file_path, callback, FILE_ERROR_OK); 88 if (error != FILE_ERROR_OK) { 111 if (error == FILE_ERROR_OK) { 119 if (error != FILE_ERROR_OK) { 145 if (error != FILE_ERROR_OK) {
|
search_operation_unittest.cc | 48 EXPECT_EQ(FILE_ERROR_OK, error); 88 EXPECT_EQ(FILE_ERROR_OK, error); 99 ASSERT_EQ(FILE_ERROR_OK, CheckForUpdates()); 112 EXPECT_EQ(FILE_ERROR_OK, error); 135 EXPECT_EQ(FILE_ERROR_OK, error);
|
open_file_operation_unittest.cc | 40 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry)); 54 EXPECT_EQ(FILE_ERROR_OK, error); 89 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry)); 124 EXPECT_EQ(FILE_ERROR_OK, error); 141 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry)); 159 EXPECT_EQ(FILE_ERROR_OK, error); 202 EXPECT_EQ(FILE_ERROR_OK, error); 219 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry)); 233 EXPECT_EQ(FILE_ERROR_OK, error); 250 EXPECT_EQ(FILE_ERROR_OK, error) [all...] |
create_directory_operation.cc | 41 if (result != FILE_ERROR_OK) 52 if (result == FILE_ERROR_OK) 128 DCHECK_EQ(FILE_ERROR_OK, error); 153 callback.Run(is_exclusive ? FILE_ERROR_EXISTS : FILE_ERROR_OK); 205 if (error != FILE_ERROR_OK) { 242 if (error != FILE_ERROR_OK) { 251 callback.Run(FILE_ERROR_OK);
|
get_file_for_saving_operation.cc | 73 if (error != FILE_ERROR_OK) { 96 if (error != FILE_ERROR_OK) { 123 if (error != FILE_ERROR_OK) { 155 callback.Run(FILE_ERROR_OK, cache_path, entry.Pass());
|
touch_operation.cc | 31 if (error != FILE_ERROR_OK) 90 if (error == FILE_ERROR_OK) {
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_errors.h | 15 FILE_ERROR_OK = 0,
|
resource_metadata.cc | 45 if (error != FILE_ERROR_OK) 56 if (error != FILE_ERROR_OK) 83 return FILE_ERROR_OK; 107 return FILE_ERROR_OK; 170 FILE_ERROR_OK : FILE_ERROR_FAILED; 205 return FILE_ERROR_OK; 226 return FILE_ERROR_OK; 236 FILE_ERROR_OK : FILE_ERROR_NOT_FOUND; 264 if (error != FILE_ERROR_OK) 296 if (error != FILE_ERROR_OK) [all...] |
sync_client_unittest.cc | 133 ASSERT_EQ(FILE_ERROR_OK, metadata_->Initialize()); 199 EXPECT_EQ(FILE_ERROR_OK, error); 202 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("foo"))); 203 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("bar"))); 204 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("baz"))); 208 EXPECT_EQ(FILE_ERROR_OK, 211 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("fetched"))); 215 EXPECT_EQ(FILE_ERROR_OK, 218 EXPECT_EQ(FILE_ERROR_OK, cache_->Pin(GetLocalId("dirty"))); 219 EXPECT_EQ(FILE_ERROR_OK, cache_->MarkDirty(GetLocalId("dirty"))) [all...] |
search_metadata.cc | 109 return FILE_ERROR_OK; 122 if (error != FILE_ERROR_OK) 133 return FILE_ERROR_OK; 202 return FILE_ERROR_OK; 210 return FILE_ERROR_OK; 215 if (error != FILE_ERROR_OK || trashed) 222 return FILE_ERROR_OK; 248 if (error != FILE_ERROR_OK) 269 return FILE_ERROR_OK; 277 if (error != FILE_ERROR_OK) [all...] |
file_system.cc | 55 if (error != FILE_ERROR_OK) 59 if (error != FILE_ERROR_OK) 66 return FILE_ERROR_OK; 71 return FILE_ERROR_OK; 76 if (error != FILE_ERROR_OK) 84 return FILE_ERROR_OK; 94 if (error != FILE_ERROR_OK) 105 if (error != FILE_ERROR_OK) 110 if (error != FILE_ERROR_OK) 126 if (error != FILE_ERROR_OK) [all...] |
download_handler_unittest.cc | 33 error_ == FILE_ERROR_OK ? new ResourceEntry : NULL)); 97 test_file_system_.set_error(FILE_ERROR_OK); 138 test_file_system_.set_error(FILE_ERROR_OK); 172 test_file_system_.set_error(FILE_ERROR_OK);
|
file_cache.cc | 132 return FILE_ERROR_OK; 184 FILE_ERROR_OK : FILE_ERROR_FAILED; 194 FILE_ERROR_OK : FILE_ERROR_FAILED; 219 return FILE_ERROR_OK; 248 return FILE_ERROR_OK; 264 return FILE_ERROR_OK; 268 FILE_ERROR_OK : FILE_ERROR_FAILED; 294 FILE_ERROR_OK : FILE_ERROR_FAILED; 304 return FILE_ERROR_OK; 316 return storage_->RemoveCacheEntry(id) ? FILE_ERROR_OK : FILE_ERROR_FAILED [all...] |
write_on_cache_file_unittest.cc | 45 callback.Run(FILE_ERROR_OK, base::FilePath(kLocalPath), 75 EXPECT_EQ(FILE_ERROR_OK, error);
|
change_list_loader.cc | 74 if (error != FILE_ERROR_OK) { 98 callback.Run(FILE_ERROR_OK, change_lists_.Pass()); 139 if (error != FILE_ERROR_OK) { 160 callback.Run(FILE_ERROR_OK, change_lists_.Pass()); 206 if (error != FILE_ERROR_OK) { 247 if (error != FILE_ERROR_OK) { 275 callback.Run(FILE_ERROR_OK, change_lists_.Pass()); 380 base::Bind(callback, FILE_ERROR_OK)); 448 OnChangeListLoadComplete(FILE_ERROR_OK); 492 if (!loaded_ && error == FILE_ERROR_OK) { [all...] |
file_system_unittest.cc | 41 if (error != FILE_ERROR_OK || !entry) { 119 ASSERT_EQ(FILE_ERROR_OK, resource_metadata_->Initialize()); 145 return error == FILE_ERROR_OK; 205 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->Initialize()); 208 ASSERT_EQ(FILE_ERROR_OK, 215 ASSERT_EQ(FILE_ERROR_OK, 228 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file1, &local_id)); 236 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(dir1, &local_id)); 247 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file2, &local_id)); 255 ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(dir2, &local_id)) [all...] |
fake_file_system.cc | 237 if (error != FILE_ERROR_OK) { 269 if (error != FILE_ERROR_OK) { 286 initialized_callback.Run(FILE_ERROR_OK, entry.Pass(), cache_path, 288 completion_callback.Run(FILE_ERROR_OK); 292 initialized_callback.Run(FILE_ERROR_OK, entry.Pass(), base::FilePath(), 320 if (error != FILE_ERROR_OK) { 340 if (error != FILE_ERROR_OK) { 361 if (error != FILE_ERROR_OK) { 379 callback.Run(FILE_ERROR_OK, entry.Pass());
|
/external/chromium_org/chrome/browser/chromeos/drive/sync/ |
entry_update_performer_unittest.cc | 39 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry)); 40 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(dest_path, &dest_entry)); 65 EXPECT_EQ(FILE_ERROR_OK, error); 73 EXPECT_EQ(FILE_ERROR_OK, error);
|