Searched refs:changestamp (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
H A Dremote_change_handler.cc13 : changestamp(0) {}
16 int64 changestamp,
18 : changestamp(changestamp), url(url) {}
23 if (left.changestamp != right.changestamp)
24 return left.changestamp < right.changestamp;
29 : changestamp(0),
33 int64 changestamp,
15 ChangeQueueItem( int64 changestamp, const fileapi::FileSystemURL& url) argument
32 RemoteChange( int64 changestamp, const std::string& resource_id, const std::string& md5_checksum, const base::Time& updated_time, const fileapi::FileSystemURL& url, const FileChange& change) argument
[all...]
H A Dremote_change_handler.h25 int64 changestamp; member in struct:sync_file_system::RemoteChangeHandler::RemoteChange
33 RemoteChange(int64 changestamp,
72 int64 changestamp; member in struct:sync_file_system::RemoteChangeHandler::ChangeQueueItem
76 ChangeQueueItem(int64 changestamp,
H A Dfake_api_util.cc33 return left.changestamp < right.changestamp;
39 return left->changestamp() < right->changestamp();
44 : type(SYNC_FILE_TYPE_UNKNOWN), deleted(false), changestamp(0) {}
54 int64 changestamp)
62 changestamp(changestamp) {}
124 if (itr->second.changestamp < start_changestamp)
253 entry->set_changestamp(resource.changestamp);
46 RemoteResource( const std::string& parent_resource_id, const std::string& parent_title, const std::string& title, const std::string& resource_id, const std::string& md5_checksum, SyncFileType type, bool deleted, int64 changestamp) argument
[all...]
H A Dfake_api_util.h37 int64 changestamp; member in struct:sync_file_system::drive_backend::FakeAPIUtil::RemoteResource
47 int64 changestamp);
H A Ddrive_file_sync_service.cc973 int64 changestamp) {
987 entry.resource_id(), changestamp,
1001 0, // changestamp
1012 int64 changestamp,
1038 if (pending_change.changestamp >= changestamp)
1098 changestamp, remote_resource_id, remote_file_md5,
1104 << "@" << changestamp << " "
1318 origin, entry, entry.changestamp()) || has_new_changes;
1342 largest_fetched_changestamp_ = changes->entries().back()->changestamp();
970 AppendRemoteChange( const GURL& origin, const google_apis::ResourceEntry& entry, int64 changestamp) argument
1007 AppendRemoteChangeInternal( const GURL& origin, const base::FilePath& path, bool is_deleted, const std::string& remote_resource_id, int64 changestamp, const std::string& remote_file_md5, const base::Time& updated_time, SyncFileType file_type) argument
[all...]
H A Dapi_util_interface.h63 int64 changestamp)> ChangeStampCallback;
99 // Fetches the largest changestamp for the signed-in account.
H A Ddrive_file_sync_service.h268 int64 changestamp);
279 int64 changestamp,
H A Dremote_sync_delegate.cc423 if (remote_change_.changestamp > 0) {
426 remote_change_.changestamp,
H A Ddrive_metadata_store_unittest.cc184 SyncStatusCode SetLargestChangeStamp(int64 changestamp) { argument
187 changestamp, base::Bind(&DriveMetadataStoreTest::DidFinishDBTask,
H A Ddrive_file_sync_service_fake_unittest.cc352 int64 changestamp,
356 changestamp, remote_file_md5, base::Time(),
347 AppendIncrementalRemoteChange( const GURL& origin, const base::FilePath& path, bool is_deleted, const std::string& resource_id, int64 changestamp, const std::string& remote_file_md5) argument
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dchange_list_processor.h37 int64 changestamp)
39 changestamp_(changestamp) {
48 // Changestamp of the directory. The changestamp is used to determine if
50 int64 changestamp() const { return changestamp_; } function in class:drive::internal::DirectoryFetchInfo
108 // Updates the changestamp of a directory according to |directory_fetch_info|
125 int64 changestamp,
36 DirectoryFetchInfo(const std::string& resource_id, int64 changestamp) argument
H A Dchange_list_processor.cc60 ", changestamp: " + base::Int64ToString(changestamp_));
100 // The changestamp appears in the first page of the change list.
101 // The changestamp does not appear in the full resource list.
136 // Add the largest changestamp for directories.
151 // Update changestamp.
166 int64 changestamp,
170 // Create the entry for "My Drive" directory with the latest changestamp.
176 root.mutable_directory_specific_info()->set_changestamp(changestamp);
184 root.mutable_directory_specific_info()->set_changestamp(changestamp);
407 directory_fetch_info.changestamp());
165 ApplyEntryMap( int64 changestamp, scoped_ptr<google_apis::AboutResource> about_resource) argument
[all...]
H A Dfile_system_unittest.cc188 // the changestamp to 654321, equal to that of "account_metadata.json" test
207 const int64 changestamp = param == USE_SERVER_TIMESTAMP ? 654321 : 1; local
209 resource_metadata->SetLargestChangestamp(changestamp));
390 // The changestamp should be propagated to the directory.
392 entry->directory_specific_info().changestamp());
457 // changestamp (i.e. the local metadata is up-to-date), so no request for
H A Dchange_list_loader_unittest.cc263 entry.directory_specific_info().changestamp();
H A Dchange_list_processor_unittest.cc85 // Applies the |changes| to |metadata_| as a full resource list of changestamp
100 // should contain their changestamp in themselves.
537 // The new changestamp should be set.
541 EXPECT_EQ(kNewChangestamp, entry.directory_specific_info().changestamp());
H A Dchange_list_loader.cc471 // last_know_remote_changestamp_ as the remote changestamp. To be precise,
546 // First fetch the latest changestamp to see if there were any new changes
684 int64 directory_changestamp = std::max(directory_fetch_info.changestamp(),
695 "Fast-fetch start: %s; Server changestamp: %s",
699 // If the directory's changestamp is up-to-date, just schedule to run the
709 // Start fetching the directory content, and mark it with the changestamp
H A Dfile_system.cc711 entry->directory_specific_info().changestamp());
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dmetadata_db_migration_util_unittest.cc161 // Verify the largest changestamp.
162 int64 changestamp = 0; local
165 EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &changestamp));
166 EXPECT_EQ(1, changestamp);
274 // Verify the largest changestamp.
275 int64 changestamp = 0; local
278 EXPECT_TRUE(base::StringToInt64(itr->value().ToString(), &changestamp));
279 EXPECT_EQ(1, changestamp);
H A Dlist_changes_task.cc31 out->set_change_id(entry.changestamp());
/external/chromium_org/chrome/browser/resources/chromeos/
H A Ddrive_internals.js161 $('account-largest-changestamp-remote').textContent =
162 aboutResource['account-largest-changestamp-remote'];
192 var changestamp = localMetadata['account-largest-changestamp-local'];
194 $('account-largest-changestamp-local').textContent =
195 changestamp.toString() +
196 (changestamp > 0 ? ' (loaded)' : ' (not loaded)') +
/external/chromium_org/google_apis/drive/
H A Dgdata_wapi_parser.h453 int64 changestamp() const { return changestamp_; } function in class:google_apis::ResourceEntry
551 void set_changestamp(int64 changestamp) { changestamp_ = changestamp; } argument
648 // The largest changestamp. Next time the resource list should be fetched
649 // from this changestamp.
H A Dgdata_wapi_parser_unittest.cc124 EXPECT_EQ(654321, file_entry->changestamp());
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Ddrive_internals_ui.cc180 StringAppendF(&out, " changestamp: %" PRId64 "\n",
181 directory_specific_info.changestamp());
322 about_resource.SetDouble("account-largest-changestamp-remote",
568 local_metadata.SetDouble("account-largest-changestamp-local",
/external/chromium_org/chrome/browser/drive/
H A Dfake_drive_service.cc132 "docs$removed", "docs$changestamp", "gd$resourceId", "id", "updated"
249 // Add the largest changestamp to the existing entries.
257 entry->SetString("docs$changestamp.value",
347 GetResourceListInternal(0, // start changestamp
364 GetResourceListInternal(0, // start changestamp
381 GetResourceListInternal(0, // start changestamp
401 GetResourceListInternal(0, // start changestamp
1276 // "changestamp", "q", "parent" and "start-offset" are parameters to
1293 if (parameters[i].first == "changestamp") {
1461 entry->SetString("docs$changestamp
[all...]

Completed in 250 milliseconds