HomeSort by relevance Sort by last modified time
    Searched refs:src_entry (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/chrome/browser/chromeos/drive/sync/
entry_update_performer_unittest.cc 38 ResourceEntry src_entry, dest_entry; local
39 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
44 src_entry.file_info().last_modified()) + base::TimeDelta::FromSeconds(1);
46 src_entry.file_info().last_accessed()) + base::TimeDelta::FromSeconds(2);
48 src_entry.set_parent_local_id(dest_entry.local_id());
49 src_entry.set_title("Moved" + src_entry.title());
50 src_entry.mutable_file_info()->set_last_modified(
52 src_entry.mutable_file_info()->set_last_accessed(
54 src_entry.set_metadata_edit_state(ResourceEntry::DIRTY)
    [all...]
entry_revert_performer_unittest.cc 35 ResourceEntry src_entry; local
36 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(path, &src_entry));
39 ResourceEntry updated_entry = src_entry;
40 updated_entry.set_title("Updated" + src_entry.title());
56 src_entry.local_id(),
64 GetLocalResourceEntryById(src_entry.local_id(), &result_entry));
65 EXPECT_EQ(src_entry.title(), result_entry.title());
  /external/chromium_org/chrome/browser/chromeos/drive/file_system/
move_operation_unittest.cc 42 ResourceEntry src_entry, dest_entry; local
43 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
56 EXPECT_EQ(src_entry.local_id(), dest_entry.local_id());
58 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry));
64 EXPECT_TRUE(observer()->updated_local_ids().count(src_entry.local_id()));
72 ResourceEntry src_entry, dest_entry; local
73 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(src_path, &src_entry));
86 EXPECT_EQ(src_entry.local_id(), dest_entry.local_id());
88 EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntry(src_path, &src_entry));
95 EXPECT_TRUE(observer()->updated_local_ids().count(src_entry.local_id()))
105 ResourceEntry src_entry, dest_entry; local
209 ResourceEntry src_entry, dest_entry; local
    [all...]
get_file_for_saving_operation_unittest.cc 76 ResourceEntry src_entry; local
77 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(drive_path, &src_entry));
92 EXPECT_EQ(src_entry.resource_id(), entry->resource_id());
122 ResourceEntry src_entry; local
124 GetLocalResourceEntry(drive_path, &src_entry));
138 EXPECT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(drive_path, &src_entry));
146 ResourceEntry src_entry; local
147 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(drive_path, &src_entry));
148 ASSERT_TRUE(src_entry.file_info().is_directory());
truncate_operation_unittest.cc 34 ResourceEntry src_entry; local
35 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
36 const int64 file_size = src_entry.file_info().size();
69 ResourceEntry src_entry; local
70 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
71 const int64 file_size = src_entry.file_info().size();
100 ResourceEntry src_entry; local
101 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
102 const int64 file_size = src_entry.file_info().size();
open_file_operation_unittest.cc 39 ResourceEntry src_entry; local
40 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
41 const int64 file_size = src_entry.file_info().size();
64 observer()->upload_needed_local_ids().count(src_entry.local_id()));
88 ResourceEntry src_entry; local
89 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
140 ResourceEntry src_entry; local
141 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
142 const int64 file_size = src_entry.file_info().size();
169 observer()->upload_needed_local_ids().count(src_entry.local_id()))
218 ResourceEntry src_entry; local
    [all...]
download_operation_unittest.cc 37 ResourceEntry src_entry; local
38 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
39 const int64 file_size = src_entry.file_info().size();
100 ResourceEntry src_entry; local
101 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
102 const int64 file_size = src_entry.file_info().size();
171 ResourceEntry src_entry; local
172 ASSERT_EQ(FILE_ERROR_OK, GetLocalResourceEntry(file_in_root, &src_entry));
173 const int64 file_size = src_entry.file_info().size();
204 ResourceEntry src_entry; local
266 ResourceEntry src_entry; local
371 ResourceEntry src_entry; local
411 ResourceEntry src_entry; local
    [all...]
copy_operation.cc 33 ResourceEntry* src_entry,
35 FileError error = metadata->GetResourceEntryByPath(src_path, src_entry);
48 if (src_entry->file_info().is_directory())
197 ResourceEntry* src_entry = new ResourceEntry; local
204 src_entry, parent_resource_id),
207 base::Owned(src_entry), base::Owned(parent_resource_id)));
211 ResourceEntry* src_entry,
223 if (src_entry->file_specific_info().is_hosted_document()) {
231 base::Time::FromInternalValue(src_entry->file_info().last_modified()) :
235 src_entry->resource_id(), *parent_resource_id
    [all...]
copy_operation.h 83 ResourceEntry* src_entry,

Completed in 3039 milliseconds