local_id 1411 cc/resources/resource_provider.cc ResourceId local_id = next_id_++; local_id 1412 cc/resources/resource_provider.cc Resource& resource = resources_[local_id]; local_id 1437 cc/resources/resource_provider.cc child_info.parent_to_child_map[local_id] = it->id; local_id 1438 cc/resources/resource_provider.cc child_info.child_to_parent_map[it->id] = local_id; local_id 1458 cc/resources/resource_provider.cc ResourceId local_id = it->second; local_id 1459 cc/resources/resource_provider.cc DCHECK(!resources_[local_id].marked_for_deletion); local_id 1460 cc/resources/resource_provider.cc child_info.in_use_resources.insert(local_id); local_id 1467 cc/resources/resource_provider.cc ResourceId local_id = it->second; local_id 1468 cc/resources/resource_provider.cc bool resource_is_in_use = child_info.in_use_resources.count(local_id) > 0; local_id 1470 cc/resources/resource_provider.cc unused.push_back(local_id); local_id 1500 cc/resources/resource_provider.cc ResourceId local_id = it->id; local_id 1501 cc/resources/resource_provider.cc ResourceMap::iterator map_iterator = resources_.find(local_id); local_id 1520 cc/resources/resource_provider.cc ResourceId local_id = map_iterator->first; local_id 1571 cc/resources/resource_provider.cc resources_for_child.push_back(local_id); local_id 1657 cc/resources/resource_provider.cc ResourceId local_id = unused[i]; local_id 1659 cc/resources/resource_provider.cc ResourceMap::iterator it = resources_.find(local_id); local_id 1664 cc/resources/resource_provider.cc DCHECK_EQ(0u, child_info->in_use_resources.count(local_id)); local_id 1665 cc/resources/resource_provider.cc DCHECK(child_info->parent_to_child_map.count(local_id)); local_id 1667 cc/resources/resource_provider.cc ResourceId child_id = child_info->parent_to_child_map[local_id]; local_id 1708 cc/resources/resource_provider.cc child_info->parent_to_child_map.erase(local_id); local_id 312 chrome/browser/chromeos/drive/change_list_processor.cc std::string local_id; local_id 314 chrome/browser/chromeos/drive/change_list_processor.cc deleted_resource_ids[i], &local_id); local_id 316 chrome/browser/chromeos/drive/change_list_processor.cc error = resource_metadata_->RemoveEntry(local_id); local_id 342 chrome/browser/chromeos/drive/change_list_processor.cc std::string local_id; local_id 343 chrome/browser/chromeos/drive/change_list_processor.cc error = resource_metadata_->GetIdByResourceId(entry.resource_id(), &local_id); local_id 347 chrome/browser/chromeos/drive/change_list_processor.cc error = resource_metadata_->GetResourceEntryById(local_id, &existing_entry); local_id 353 chrome/browser/chromeos/drive/change_list_processor.cc new_entry.set_local_id(local_id); local_id 364 chrome/browser/chromeos/drive/change_list_processor.cc << resource_metadata_->GetFilePath(local_id).value(); local_id 368 chrome/browser/chromeos/drive/change_list_processor.cc std::string local_id; local_id 369 chrome/browser/chromeos/drive/change_list_processor.cc error = resource_metadata_->AddEntry(new_entry, &local_id); local_id 392 chrome/browser/chromeos/drive/change_list_processor.cc directory_fetch_info.local_id(), &directory); local_id 414 chrome/browser/chromeos/drive/change_list_processor.cc entry->set_parent_local_id(directory_fetch_info.local_id()); local_id 416 chrome/browser/chromeos/drive/change_list_processor.cc std::string local_id; local_id 418 chrome/browser/chromeos/drive/change_list_processor.cc &local_id); local_id 420 chrome/browser/chromeos/drive/change_list_processor.cc entry->set_local_id(local_id); local_id 426 chrome/browser/chromeos/drive/change_list_processor.cc error = resource_metadata->AddEntry(*entry, &local_id); local_id 433 chrome/browser/chromeos/drive/change_list_processor.cc error = resource_metadata->GetResourceEntryById(local_id, &result_entry); local_id 463 chrome/browser/chromeos/drive/change_list_processor.cc std::string local_id; local_id 466 chrome/browser/chromeos/drive/change_list_processor.cc entry.resource_id(), &local_id) == FILE_ERROR_OK) local_id 467 chrome/browser/chromeos/drive/change_list_processor.cc file_path = resource_metadata_->GetFilePath(local_id); local_id 480 chrome/browser/chromeos/drive/change_list_processor.cc resource_metadata_->GetSubDirectoriesRecursively(local_id, local_id 36 chrome/browser/chromeos/drive/change_list_processor.h DirectoryFetchInfo(const std::string& local_id, local_id 39 chrome/browser/chromeos/drive/change_list_processor.h : local_id_(local_id), local_id 48 chrome/browser/chromeos/drive/change_list_processor.h const std::string& local_id() const { return local_id_; } local_id 534 chrome/browser/chromeos/drive/change_list_processor_unittest.cc DirectoryFetchInfo(root.local_id(), kRootId, kNewChangestamp), local_id 572 chrome/browser/chromeos/drive/change_list_processor_unittest.cc DirectoryFetchInfo(root.local_id(), kRootId, kNewChangestamp), local_id 35 chrome/browser/chromeos/drive/directory_loader.cc const std::string& local_id, local_id 54 chrome/browser/chromeos/drive/directory_loader.cc error = resource_metadata->GetResourceEntryById(local_id, entry); local_id 59 chrome/browser/chromeos/drive/directory_loader.cc error = resource_metadata->ReadDirectoryById(local_id, child_entries); local_id 74 chrome/browser/chromeos/drive/directory_loader.cc directory_fetch_info.local_id(), &directory); local_id 89 chrome/browser/chromeos/drive/directory_loader.cc directory_fetch_info.local_id()); local_id 180 chrome/browser/chromeos/drive/directory_loader.cc loader_->SendEntries(directory_fetch_info_.local_id(), *refreshed_entries, local_id 292 chrome/browser/chromeos/drive/directory_loader.cc entry->local_id(), local_id 297 chrome/browser/chromeos/drive/directory_loader.cc const std::string& local_id = directory_fetch_info.local_id(); local_id 300 chrome/browser/chromeos/drive/directory_loader.cc pending_load_callback_[local_id].push_back(callback_state); local_id 303 chrome/browser/chromeos/drive/directory_loader.cc if (pending_load_callback_[local_id].size() > 1) local_id 315 chrome/browser/chromeos/drive/directory_loader.cc weak_ptr_factory_.GetWeakPtr(), local_id)); local_id 352 chrome/browser/chromeos/drive/directory_loader.cc const std::string& local_id, local_id 359 chrome/browser/chromeos/drive/directory_loader.cc OnDirectoryLoadComplete(local_id, error); local_id 376 chrome/browser/chromeos/drive/directory_loader.cc local_id, local_id 383 chrome/browser/chromeos/drive/directory_loader.cc local_id, local_id 391 chrome/browser/chromeos/drive/directory_loader.cc const std::string& local_id, local_id 400 chrome/browser/chromeos/drive/directory_loader.cc OnDirectoryLoadComplete(local_id, error); local_id 405 chrome/browser/chromeos/drive/directory_loader.cc OnDirectoryLoadComplete(local_id, FILE_ERROR_OK); local_id 416 chrome/browser/chromeos/drive/directory_loader.cc local_id, entry->resource_id(), remote_changestamp); local_id 430 chrome/browser/chromeos/drive/directory_loader.cc OnDirectoryLoadComplete(local_id, FILE_ERROR_OK); local_id 433 chrome/browser/chromeos/drive/directory_loader.cc SendEntries(local_id, *child_entries, true /*has_more*/); local_id 440 chrome/browser/chromeos/drive/directory_loader.cc void DirectoryLoader::OnDirectoryLoadComplete(const std::string& local_id, local_id 446 chrome/browser/chromeos/drive/directory_loader.cc local_id.c_str(), local_id 454 chrome/browser/chromeos/drive/directory_loader.cc base::Unretained(resource_metadata_), local_id, entries), local_id 457 chrome/browser/chromeos/drive/directory_loader.cc local_id, local_id 462 chrome/browser/chromeos/drive/directory_loader.cc const std::string& local_id, local_id 465 chrome/browser/chromeos/drive/directory_loader.cc LoadCallbackMap::iterator it = pending_load_callback_.find(local_id); local_id 467 chrome/browser/chromeos/drive/directory_loader.cc DVLOG(1) << "Running callback for " << local_id; local_id 471 chrome/browser/chromeos/drive/directory_loader.cc SendEntries(local_id, *entries, kHasMore); local_id 483 chrome/browser/chromeos/drive/directory_loader.cc void DirectoryLoader::SendEntries(const std::string& local_id, local_id 486 chrome/browser/chromeos/drive/directory_loader.cc LoadCallbackMap::iterator it = pending_load_callback_.find(local_id); local_id 538 chrome/browser/chromeos/drive/directory_loader.cc << directory_fetch_info.local_id() local_id 540 chrome/browser/chromeos/drive/directory_loader.cc OnDirectoryLoadComplete(directory_fetch_info.local_id(), error); local_id 567 chrome/browser/chromeos/drive/directory_loader.cc OnDirectoryLoadComplete(directory_fetch_info.local_id(), error); local_id 82 chrome/browser/chromeos/drive/directory_loader.h const std::string& local_id, local_id 87 chrome/browser/chromeos/drive/directory_loader.h const std::string& local_id, local_id 96 chrome/browser/chromeos/drive/directory_loader.h void OnDirectoryLoadComplete(const std::string& local_id, FileError error); local_id 97 chrome/browser/chromeos/drive/directory_loader.h void OnDirectoryLoadCompleteAfterRead(const std::string& local_id, local_id 102 chrome/browser/chromeos/drive/directory_loader.h void SendEntries(const std::string& local_id, local_id 50 chrome/browser/chromeos/drive/file_system.cc std::string local_id; local_id 51 chrome/browser/chromeos/drive/file_system.cc FileError error = resource_metadata->GetIdByPath(file_path, &local_id); local_id 55 chrome/browser/chromeos/drive/file_system.cc error = resource_metadata->GetResourceEntryById(local_id, entry); local_id 67 chrome/browser/chromeos/drive/file_system.cc if (!cache->GetCacheEntry(local_id, &cache_entry)) local_id 77 chrome/browser/chromeos/drive/file_system.cc error = cache->GetFile(local_id, &local_cache_path); local_id 106 chrome/browser/chromeos/drive/file_system.cc std::string* local_id) { local_id 107 chrome/browser/chromeos/drive/file_system.cc FileError error = resource_metadata->GetIdByPath(file_path, local_id); local_id 112 chrome/browser/chromeos/drive/file_system.cc error = resource_metadata->GetResourceEntryById(*local_id, &entry); local_id 120 chrome/browser/chromeos/drive/file_system.cc return cache->Pin(*local_id); local_id 127 chrome/browser/chromeos/drive/file_system.cc std::string* local_id) { local_id 128 chrome/browser/chromeos/drive/file_system.cc FileError error = resource_metadata->GetIdByPath(file_path, local_id); local_id 132 chrome/browser/chromeos/drive/file_system.cc return cache->Unpin(*local_id); local_id 141 chrome/browser/chromeos/drive/file_system.cc std::string local_id; local_id 142 chrome/browser/chromeos/drive/file_system.cc FileError error = resource_metadata->GetIdByPath(drive_file_path, &local_id); local_id 146 chrome/browser/chromeos/drive/file_system.cc return cache->MarkAsMounted(local_id, cache_file_path); local_id 215 chrome/browser/chromeos/drive/file_system.cc std::string local_id; local_id 217 chrome/browser/chromeos/drive/file_system.cc resource_metadata->GetIdByResourceId(resource_id, &local_id); local_id 219 chrome/browser/chromeos/drive/file_system.cc resource_metadata->GetFilePath(local_id) : base::FilePath(); local_id 540 chrome/browser/chromeos/drive/file_system.cc std::string* local_id = new std::string; local_id 544 chrome/browser/chromeos/drive/file_system.cc base::Bind(&PinInternal, resource_metadata_, cache_, file_path, local_id), local_id 548 chrome/browser/chromeos/drive/file_system.cc base::Owned(local_id))); local_id 552 chrome/browser/chromeos/drive/file_system.cc const std::string* local_id, local_id 558 chrome/browser/chromeos/drive/file_system.cc sync_client_->AddFetchTask(*local_id); local_id 567 chrome/browser/chromeos/drive/file_system.cc std::string* local_id = new std::string; local_id 575 chrome/browser/chromeos/drive/file_system.cc local_id), local_id 579 chrome/browser/chromeos/drive/file_system.cc base::Owned(local_id))); local_id 583 chrome/browser/chromeos/drive/file_system.cc const std::string* local_id, local_id 589 chrome/browser/chromeos/drive/file_system.cc sync_client_->RemoveFetchTask(*local_id); local_id 826 chrome/browser/chromeos/drive/file_system.cc void FileSystem::OnEntryUpdatedByOperation(const std::string& local_id) { local_id 827 chrome/browser/chromeos/drive/file_system.cc sync_client_->AddUpdateTask(ClientContext(USER_INITIATED), local_id); local_id 831 chrome/browser/chromeos/drive/file_system.cc const std::string& local_id) { local_id 837 chrome/browser/chromeos/drive/file_system.cc local_id), local_id 170 chrome/browser/chromeos/drive/file_system.h virtual void OnEntryUpdatedByOperation(const std::string& local_id) OVERRIDE; local_id 172 chrome/browser/chromeos/drive/file_system.h const std::string& local_id) OVERRIDE; local_id 202 chrome/browser/chromeos/drive/file_system.h const std::string* local_id, local_id 206 chrome/browser/chromeos/drive/file_system.h const std::string* local_id, local_id 52 chrome/browser/chromeos/drive/file_system/copy_operation.cc parent_local_id(parent_entry.local_id()), local_id 65 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string local_id; // the local_id of the file (if exists in metadata.) local_id 109 chrome/browser/chromeos/drive/file_system/copy_operation.cc updated_local_ids->push_back(dest_entry.local_id()); local_id 121 chrome/browser/chromeos/drive/file_system/copy_operation.cc cache->GetCacheEntry(params->src_entry.local_id(), &cache_entry); local_id 131 chrome/browser/chromeos/drive/file_system/copy_operation.cc entry.set_parent_local_id(params->parent_entry.local_id()); local_id 140 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string local_id; local_id 141 chrome/browser/chromeos/drive/file_system/copy_operation.cc error = metadata->AddEntry(entry, &local_id); local_id 144 chrome/browser/chromeos/drive/file_system/copy_operation.cc updated_local_ids->push_back(local_id); local_id 154 chrome/browser/chromeos/drive/file_system/copy_operation.cc error = cache->GetFile(params->src_entry.local_id(), &cache_file_path); local_id 158 chrome/browser/chromeos/drive/file_system/copy_operation.cc return cache->Store(local_id, std::string(), cache_file_path, local_id 182 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string local_id; local_id 183 chrome/browser/chromeos/drive/file_system/copy_operation.cc error = metadata->AddEntry(entry, &local_id); local_id 187 chrome/browser/chromeos/drive/file_system/copy_operation.cc error = metadata->GetIdByResourceId(entry.resource_id(), &local_id); local_id 190 chrome/browser/chromeos/drive/file_system/copy_operation.cc *file_path = metadata->GetFilePath(local_id); local_id 202 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string* local_id) { local_id 203 chrome/browser/chromeos/drive/file_system/copy_operation.cc FileError error = metadata->GetIdByPath(remote_dest_path, local_id); local_id 208 chrome/browser/chromeos/drive/file_system/copy_operation.cc error = metadata->GetResourceEntryById(*local_id, &entry); local_id 212 chrome/browser/chromeos/drive/file_system/copy_operation.cc return cache->Store(*local_id, std::string(), local_src_path, local_id 245 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string local_id; local_id 246 chrome/browser/chromeos/drive/file_system/copy_operation.cc FileError error = metadata->GetIdByResourceId(params->resource_id, &local_id); local_id 253 chrome/browser/chromeos/drive/file_system/copy_operation.cc error = metadata->GetResourceEntryById(local_id, &entry); local_id 256 chrome/browser/chromeos/drive/file_system/copy_operation.cc params->local_id = entry.local_id(); local_id 265 chrome/browser/chromeos/drive/file_system/copy_operation.cc params->changed_path = metadata->GetFilePath(local_id); local_id 452 chrome/browser/chromeos/drive/file_system/copy_operation.cc observer_->OnEntryUpdatedByOperation(params->local_id); local_id 558 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string* local_id = new std::string; local_id 564 chrome/browser/chromeos/drive/file_system/copy_operation.cc metadata_, cache_, local_src_path, remote_dest_path, local_id), local_id 568 chrome/browser/chromeos/drive/file_system/copy_operation.cc base::Owned(local_id))); local_id 574 chrome/browser/chromeos/drive/file_system/copy_operation.cc std::string* local_id, local_id 581 chrome/browser/chromeos/drive/file_system/copy_operation.cc observer_->OnEntryUpdatedByOperation(*local_id); local_id 148 chrome/browser/chromeos/drive/file_system/copy_operation.h std::string* local_id, local_id 108 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_EQ(1U, observer()->updated_local_ids().count(entry.local_id())); local_id 115 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc base::Unretained(cache()), entry.local_id(), &cache_entry), local_id 189 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_TRUE(observer()->updated_local_ids().count(entry.local_id())); local_id 328 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc src_entry.local_id(), local_id 349 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_TRUE(observer()->updated_local_ids().count(dest_entry.local_id())); local_id 361 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc dest_entry.local_id(), local_id 375 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc dest_entry.local_id(), local_id 406 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_TRUE(observer()->updated_local_ids().count(old_dest_entry.local_id())); local_id 43 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::string local_id; local_id 44 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc FileError error = metadata->AddEntry(entry, &local_id); local_id 48 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc updated_local_ids->insert(local_id); local_id 49 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc changed_directories->insert(metadata->GetFilePath(local_id).DirName()); local_id 55 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc return CreateDirectoryRecursively(metadata, local_id, remaining_path, local_id 73 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::string local_id = util::kDriveGrandRootLocalId; local_id 75 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc std::string child_local_id = metadata->GetChildId(local_id, components[i]); local_id 79 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc local_id = child_local_id; local_id 83 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc FileError error = metadata->GetResourceEntryById(local_id, &entry); local_id 101 chrome/browser/chromeos/drive/file_system/create_directory_operation.cc return CreateDirectoryRecursively(metadata, entry.local_id(), remaining_path, local_id 65 chrome/browser/chromeos/drive/file_system/create_directory_operation_unittest.cc EXPECT_EQ(1U, observer()->updated_local_ids().count(entry.local_id())); local_id 58 chrome/browser/chromeos/drive/file_system/create_file_operation.cc entry->set_parent_local_id(parent.local_id()); local_id 62 chrome/browser/chromeos/drive/file_system/create_file_operation.cc std::string local_id; local_id 63 chrome/browser/chromeos/drive/file_system/create_file_operation.cc error = metadata->AddEntry(*entry, &local_id); local_id 64 chrome/browser/chromeos/drive/file_system/create_file_operation.cc entry->set_local_id(local_id); local_id 127 chrome/browser/chromeos/drive/file_system/create_file_operation.cc observer_->OnEntryUpdatedByOperation(entry->local_id()); local_id 42 chrome/browser/chromeos/drive/file_system/create_file_operation_unittest.cc EXPECT_EQ(1u, observer()->updated_local_ids().count(entry.local_id())); local_id 78 chrome/browser/chromeos/drive/file_system/download_operation.cc const std::string& local_id, local_id 86 chrome/browser/chromeos/drive/file_system/download_operation.cc FileError error = metadata->GetResourceEntryById(local_id, entry); local_id 122 chrome/browser/chromeos/drive/file_system/download_operation.cc if (!cache->GetCacheEntry(local_id, &cache_entry) || local_id 137 chrome/browser/chromeos/drive/file_system/download_operation.cc error = cache->Store(local_id, std::string(), empty_file, local_id 142 chrome/browser/chromeos/drive/file_system/download_operation.cc if (!cache->GetCacheEntry(local_id, &cache_entry)) local_id 156 chrome/browser/chromeos/drive/file_system/download_operation.cc error = cache->GetFile(local_id, cache_file_path); local_id 181 chrome/browser/chromeos/drive/file_system/download_operation.cc const std::string& local_id, local_id 186 chrome/browser/chromeos/drive/file_system/download_operation.cc *drive_file_path = params.metadata->GetFilePath(local_id); local_id 188 chrome/browser/chromeos/drive/file_system/download_operation.cc params.metadata, params.cache, params.temporary_file_directory, local_id, local_id 200 chrome/browser/chromeos/drive/file_system/download_operation.cc std::string local_id; local_id 201 chrome/browser/chromeos/drive/file_system/download_operation.cc FileError error = params.metadata->GetIdByPath(file_path, &local_id); local_id 205 chrome/browser/chromeos/drive/file_system/download_operation.cc params.metadata, params.cache, params.temporary_file_directory, local_id, local_id 215 chrome/browser/chromeos/drive/file_system/download_operation.cc const std::string& local_id, local_id 233 chrome/browser/chromeos/drive/file_system/download_operation.cc if (cache->GetCacheEntry(local_id, &cache_entry) && cache_entry.is_dirty()) local_id 237 chrome/browser/chromeos/drive/file_system/download_operation.cc error = cache->Store(local_id, md5, downloaded_file_path, local_id 243 chrome/browser/chromeos/drive/file_system/download_operation.cc return cache->GetFile(local_id, cache_file_path); local_id 345 chrome/browser/chromeos/drive/file_system/download_operation.cc const std::string& local_id, local_id 370 chrome/browser/chromeos/drive/file_system/download_operation.cc local_id, local_id 482 chrome/browser/chromeos/drive/file_system/download_operation.cc const std::string& local_id = params->entry().local_id(); local_id 490 chrome/browser/chromeos/drive/file_system/download_operation.cc local_id, local_id 66 chrome/browser/chromeos/drive/file_system/download_operation.h const std::string& local_id, local_id 454 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc new_file.set_parent_local_id(parent.local_id()); local_id 457 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc std::string local_id; local_id 464 chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc &local_id), local_id 104 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const std::string& local_id = entry->local_id(); local_id 112 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc local_id, local_id 136 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const std::string& local_id = entry->local_id(); local_id 146 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc local_id, local_id 159 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc entry->local_id().c_str(), local_id 172 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc const std::string& local_id, local_id 175 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc local_id.c_str()); local_id 177 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.cc observer_->OnEntryUpdatedByOperation(local_id); local_id 84 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation.h void OnWriteEvent(const std::string& local_id, local_id 41 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc virtual void OnEntryUpdatedByOperation(const std::string& local_id) OVERRIDE { local_id 42 chrome/browser/chromeos/drive/file_system/get_file_for_saving_operation_unittest.cc observed_local_id_ = local_id; local_id 24 chrome/browser/chromeos/drive/file_system/move_operation.cc std::string* local_id) { local_id 29 chrome/browser/chromeos/drive/file_system/move_operation.cc *local_id = entry.local_id(); local_id 53 chrome/browser/chromeos/drive/file_system/move_operation.cc entry.set_parent_local_id(parent_entry.local_id()); local_id 87 chrome/browser/chromeos/drive/file_system/move_operation.cc std::string* local_id = new std::string; local_id 96 chrome/browser/chromeos/drive/file_system/move_operation.cc local_id), local_id 101 chrome/browser/chromeos/drive/file_system/move_operation.cc base::Owned(local_id))); local_id 107 chrome/browser/chromeos/drive/file_system/move_operation.cc const std::string* local_id, local_id 117 chrome/browser/chromeos/drive/file_system/move_operation.cc observer_->OnEntryUpdatedByOperation(*local_id); local_id 60 chrome/browser/chromeos/drive/file_system/move_operation.h const std::string* local_id, local_id 45 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc EXPECT_EQ(src_entry.local_id(), dest_entry.local_id()); local_id 53 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc EXPECT_TRUE(observer()->updated_local_ids().count(src_entry.local_id())); local_id 74 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc EXPECT_EQ(src_entry.local_id(), dest_entry.local_id()); local_id 83 chrome/browser/chromeos/drive/file_system/move_operation_unittest.cc EXPECT_TRUE(observer()->updated_local_ids().count(src_entry.local_id())); local_id 132 chrome/browser/chromeos/drive/file_system/open_file_operation.cc entry->local_id(), local_id 137 chrome/browser/chromeos/drive/file_system/open_file_operation.cc entry->local_id(), local_id 144 chrome/browser/chromeos/drive/file_system/open_file_operation.cc const std::string& local_id, local_id 156 chrome/browser/chromeos/drive/file_system/open_file_operation.cc ++open_files_[local_id]; local_id 160 chrome/browser/chromeos/drive/file_system/open_file_operation.cc local_id, local_id 165 chrome/browser/chromeos/drive/file_system/open_file_operation.cc const std::string& local_id, local_id 168 chrome/browser/chromeos/drive/file_system/open_file_operation.cc DCHECK_GT(open_files_[local_id], 0); local_id 170 chrome/browser/chromeos/drive/file_system/open_file_operation.cc if (--open_files_[local_id] == 0) { local_id 172 chrome/browser/chromeos/drive/file_system/open_file_operation.cc open_files_.erase(local_id); local_id 173 chrome/browser/chromeos/drive/file_system/open_file_operation.cc observer_->OnEntryUpdatedByOperation(local_id); local_id 77 chrome/browser/chromeos/drive/file_system/open_file_operation.h const std::string& local_id, local_id 83 chrome/browser/chromeos/drive/file_system/open_file_operation.h void CloseFile(const std::string& local_id, local_id 62 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc EXPECT_EQ(1U, observer()->updated_local_ids().count(src_entry.local_id())); local_id 164 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc EXPECT_EQ(1U, observer()->updated_local_ids().count(src_entry.local_id())); local_id 173 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc src_entry.local_id(), local_id 261 chrome/browser/chromeos/drive/file_system/open_file_operation_unittest.cc EXPECT_EQ(1U, observer()->updated_local_ids().count(src_entry.local_id())); local_id 36 chrome/browser/chromeos/drive/file_system/operation_observer.h virtual void OnEntryUpdatedByOperation(const std::string& local_id) {} local_id 41 chrome/browser/chromeos/drive/file_system/operation_observer.h const std::string& local_id) {} local_id 36 chrome/browser/chromeos/drive/file_system/operation_test_base.cc const std::string& local_id) { local_id 37 chrome/browser/chromeos/drive/file_system/operation_test_base.cc updated_local_ids_.insert(local_id); local_id 41 chrome/browser/chromeos/drive/file_system/operation_test_base.cc DriveSyncErrorType type, const std::string& local_id) { local_id 149 chrome/browser/chromeos/drive/file_system/operation_test_base.cc const std::string& local_id, local_id 156 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata()), local_id, entry), local_id 163 chrome/browser/chromeos/drive/file_system/operation_test_base.cc std::string local_id; local_id 169 chrome/browser/chromeos/drive/file_system/operation_test_base.cc base::Unretained(metadata()), path, &local_id), local_id 173 chrome/browser/chromeos/drive/file_system/operation_test_base.cc return local_id; local_id 57 chrome/browser/chromeos/drive/file_system/operation_test_base.h const std::string& local_id) OVERRIDE; local_id 59 chrome/browser/chromeos/drive/file_system/operation_test_base.h const std::string& local_id) OVERRIDE; local_id 99 chrome/browser/chromeos/drive/file_system/operation_test_base.h FileError GetLocalResourceEntryById(const std::string& local_id, local_id 27 chrome/browser/chromeos/drive/file_system/remove_operation.cc std::string* local_id, local_id 29 chrome/browser/chromeos/drive/file_system/remove_operation.cc FileError error = metadata->GetIdByPath(path, local_id); local_id 34 chrome/browser/chromeos/drive/file_system/remove_operation.cc error = metadata->GetResourceEntryById(*local_id, &entry); local_id 48 chrome/browser/chromeos/drive/file_system/remove_operation.cc error = cache->Remove(*local_id); local_id 52 chrome/browser/chromeos/drive/file_system/remove_operation.cc *changed_directory_path = metadata->GetFilePath(*local_id).DirName(); local_id 84 chrome/browser/chromeos/drive/file_system/remove_operation.cc std::string* local_id = new std::string; local_id 94 chrome/browser/chromeos/drive/file_system/remove_operation.cc local_id, local_id 99 chrome/browser/chromeos/drive/file_system/remove_operation.cc base::Owned(local_id), local_id 105 chrome/browser/chromeos/drive/file_system/remove_operation.cc const std::string* local_id, local_id 113 chrome/browser/chromeos/drive/file_system/remove_operation.cc observer_->OnEntryUpdatedByOperation(*local_id); local_id 55 chrome/browser/chromeos/drive/file_system/remove_operation.h const std::string* local_id, local_id 38 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc const std::string id_file_in_root = entry.local_id(); local_id 55 chrome/browser/chromeos/drive/file_system/remove_operation_unittest.cc const std::string id_file_in_subdir = entry.local_id(); local_id 44 chrome/browser/chromeos/drive/file_system/search_operation.cc std::string local_id; local_id 46 chrome/browser/chromeos/drive/file_system/search_operation.cc entries[i]->resource_id(), &local_id); local_id 50 chrome/browser/chromeos/drive/file_system/search_operation.cc error = resource_metadata->GetResourceEntryById(local_id, &entry); local_id 66 chrome/browser/chromeos/drive/file_system/search_operation.cc error = resource_metadata->AddEntry(entry, &local_id); local_id 71 chrome/browser/chromeos/drive/file_system/search_operation.cc SearchResultInfo(resource_metadata->GetFilePath(local_id), local_id 28 chrome/browser/chromeos/drive/file_system/touch_operation.cc std::string* local_id) { local_id 33 chrome/browser/chromeos/drive/file_system/touch_operation.cc *local_id = entry.local_id(); local_id 65 chrome/browser/chromeos/drive/file_system/touch_operation.cc std::string* local_id = new std::string; local_id 74 chrome/browser/chromeos/drive/file_system/touch_operation.cc local_id), local_id 79 chrome/browser/chromeos/drive/file_system/touch_operation.cc base::Owned(local_id))); local_id 85 chrome/browser/chromeos/drive/file_system/touch_operation.cc const std::string* local_id, local_id 92 chrome/browser/chromeos/drive/file_system/touch_operation.cc observer_->OnEntryUpdatedByOperation(*local_id); local_id 55 chrome/browser/chromeos/drive/file_system/touch_operation.h const std::string* local_id, local_id 55 chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc EXPECT_TRUE(observer()->updated_local_ids().count(entry.local_id())); local_id 33 chrome/browser/chromeos/drive/file_system/truncate_operation.cc const std::string& local_id, local_id 40 chrome/browser/chromeos/drive/file_system/truncate_operation.cc FileError error = cache->OpenForWrite(local_id, &file_closer); local_id 129 chrome/browser/chromeos/drive/file_system/truncate_operation.cc metadata_, cache_, entry->local_id(), local_file_path, length), local_id 132 chrome/browser/chromeos/drive/file_system/truncate_operation.cc weak_ptr_factory_.GetWeakPtr(), entry->local_id(), callback)); local_id 136 chrome/browser/chromeos/drive/file_system/truncate_operation.cc const std::string& local_id, local_id 142 chrome/browser/chromeos/drive/file_system/truncate_operation.cc observer_->OnEntryUpdatedByOperation(local_id); local_id 65 chrome/browser/chromeos/drive/file_system/truncate_operation.h const std::string& local_id, local_id 242 chrome/browser/chromeos/drive/file_system_unittest.cc std::string local_id; local_id 248 chrome/browser/chromeos/drive/file_system_unittest.cc file1.set_parent_local_id(root.local_id()); local_id 252 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file1, &local_id)); local_id 258 chrome/browser/chromeos/drive/file_system_unittest.cc dir1.set_parent_local_id(root.local_id()); local_id 260 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(dir1, &local_id)); local_id 261 chrome/browser/chromeos/drive/file_system_unittest.cc const std::string dir1_local_id = local_id; local_id 271 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file2, &local_id)); local_id 279 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(dir2, &local_id)); local_id 280 chrome/browser/chromeos/drive/file_system_unittest.cc const std::string dir2_local_id = local_id; local_id 290 chrome/browser/chromeos/drive/file_system_unittest.cc ASSERT_EQ(FILE_ERROR_OK, resource_metadata->AddEntry(file3, &local_id)); local_id 556 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(util::kDriveGrandRootLocalId, entry->local_id()); local_id 563 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(util::kDriveOtherDirLocalId, entry->local_id()); local_id 804 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); local_id 815 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); local_id 850 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(entry->local_id(), &cache_entry)); local_id 874 chrome/browser/chromeos/drive/file_system_unittest.cc entry->local_id(), local_id 889 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(FILE_ERROR_IN_USE, cache_->Remove(entry->local_id())); local_id 900 chrome/browser/chromeos/drive/file_system_unittest.cc EXPECT_EQ(FILE_ERROR_OK, cache_->Remove(entry->local_id())); local_id 62 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc std::string local_id("pdf:1a2b3c"); local_id 67 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc cache_->Store(local_id, md5, dummy_file, local_id 72 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc EXPECT_TRUE(cache_->GetCacheEntry(local_id, &cache_entry)); local_id 76 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc resource_metadata_->GetResourceEntryById(local_id, &entry)); local_id 82 chrome/browser/chromeos/drive/remove_stale_cache_files_unittest.cc EXPECT_FALSE(cache_->GetCacheEntry(local_id, &cache_entry)); local_id 139 chrome/browser/chromeos/drive/resource_metadata.cc std::string local_id; local_id 140 chrome/browser/chromeos/drive/resource_metadata.cc if (AddEntry(mydrive, &local_id) != FILE_ERROR_OK) local_id 169 chrome/browser/chromeos/drive/resource_metadata.cc DCHECK(entry.local_id().empty()); local_id 180 chrome/browser/chromeos/drive/resource_metadata.cc std::string local_id; local_id 183 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetIdByResourceId(entry.resource_id(), &local_id) && local_id 184 chrome/browser/chromeos/drive/resource_metadata.cc storage_->GetEntry(local_id, &existing_entry)) local_id 188 chrome/browser/chromeos/drive/resource_metadata.cc while (local_id.empty() || storage_->GetEntry(local_id, &existing_entry)) local_id 189 chrome/browser/chromeos/drive/resource_metadata.cc local_id = base::GenerateGUID(); local_id 192 chrome/browser/chromeos/drive/resource_metadata.cc new_entry.set_local_id(local_id); local_id 197 chrome/browser/chromeos/drive/resource_metadata.cc *out_id = local_id; local_id 291 chrome/browser/chromeos/drive/resource_metadata.cc if (!storage_->GetEntry(entry.local_id(), &old_entry)) local_id 301 chrome/browser/chromeos/drive/resource_metadata.cc std::string local_id; local_id 302 chrome/browser/chromeos/drive/resource_metadata.cc FileError error = GetIdByResourceId(entry.resource_id(), &local_id); local_id 305 chrome/browser/chromeos/drive/resource_metadata.cc if (local_id != entry.local_id()) local_id 405 chrome/browser/chromeos/drive/resource_metadata.cc DCHECK(!entry.local_id().empty()); local_id 422 chrome/browser/chromeos/drive/resource_metadata.cc if (existing_entry_id.empty() || existing_entry_id == entry.local_id()) local_id 598 chrome/browser/chromeos/drive/resource_metadata_storage.cc const std::string& id = entry.local_id(); local_id 254 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc const std::string local_id = "local_id"; local_id 263 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc entry.set_local_id(local_id); local_id 269 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(local_id, id); local_id 272 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_TRUE(storage_->RemoveEntry(local_id)); local_id 408 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc const std::string local_id = "local-abcd"; local_id 421 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc batch.Put(local_id, serialized_entry); local_id 425 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc batch.Put(local_id + '\0' + "CACHE", serialized_entry); local_id 427 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc batch.Put('\0' + std::string("ID") + '\0' + resource_id, local_id); local_id 442 chrome/browser/chromeos/drive/resource_metadata_storage_unittest.cc EXPECT_EQ(local_id, id); local_id 91 chrome/browser/chromeos/drive/resource_metadata_unittest.cc std::string local_id; local_id 93 chrome/browser/chromeos/drive/resource_metadata_unittest.cc util::GetDriveMyDriveRootPath(), &local_id)); local_id 94 chrome/browser/chromeos/drive/resource_metadata_unittest.cc const std::string root_local_id = local_id; local_id 97 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir1", root_local_id), &local_id)); local_id 98 chrome/browser/chromeos/drive/resource_metadata_unittest.cc const std::string local_id_dir1 = local_id; local_id 101 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir2", root_local_id), &local_id)); local_id 102 chrome/browser/chromeos/drive/resource_metadata_unittest.cc const std::string local_id_dir2 = local_id; local_id 105 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir3", local_id_dir1), &local_id)); local_id 106 chrome/browser/chromeos/drive/resource_metadata_unittest.cc const std::string local_id_dir3 = local_id; local_id 109 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file4", local_id_dir1), &local_id)); local_id 111 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file5", local_id_dir1), &local_id)); local_id 114 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file6", local_id_dir2), &local_id)); local_id 116 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file7", local_id_dir2), &local_id)); local_id 118 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file8", local_id_dir2), &local_id)); local_id 121 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file9", local_id_dir3), &local_id)); local_id 123 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateFileEntry("file10", local_id_dir3), &local_id)); local_id 326 chrome/browser/chromeos/drive/resource_metadata_unittest.cc new_entry.set_parent_local_id(entry.local_id()); local_id 328 chrome/browser/chromeos/drive/resource_metadata_unittest.cc std::string local_id; local_id 329 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(new_entry, &local_id)); local_id 332 chrome/browser/chromeos/drive/resource_metadata_unittest.cc new_entry.set_local_id(local_id); local_id 342 chrome/browser/chromeos/drive/resource_metadata_unittest.cc std::string local_id; local_id 344 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3/file9"), &local_id)); local_id 345 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->GetSubDirectoriesRecursively(local_id, &sub_directories); local_id 350 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir2"), &local_id)); local_id 351 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->GetSubDirectoriesRecursively(local_id, &sub_directories); local_id 353 chrome/browser/chromeos/drive/resource_metadata_unittest.cc const std::string dir2_id = local_id; local_id 357 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1"), &local_id)); local_id 358 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->GetSubDirectoriesRecursively(local_id, &sub_directories); local_id 374 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir100", dir2_id), &local_id)); local_id 376 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir101", dir2_id), &local_id)); local_id 377 chrome/browser/chromeos/drive/resource_metadata_unittest.cc const std::string dir101_id = local_id; local_id 379 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir102", dir101_id), &local_id)); local_id 381 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir103", dir101_id), &local_id)); local_id 383 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir104", dir101_id), &local_id)); local_id 385 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir105", local_id), &local_id)); local_id 387 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir106", local_id), &local_id)); local_id 389 chrome/browser/chromeos/drive/resource_metadata_unittest.cc CreateDirectoryEntry("dir107", local_id), &local_id)); local_id 405 chrome/browser/chromeos/drive/resource_metadata_unittest.cc std::string local_id; local_id 407 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/dir3"), &local_id)); local_id 408 chrome/browser/chromeos/drive/resource_metadata_unittest.cc ResourceEntry file_entry = CreateFileEntry("file100", local_id); local_id 409 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(file_entry, &local_id)); local_id 411 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->GetFilePath(local_id).AsUTF8Unsafe()); local_id 415 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1"), &local_id)); local_id 416 chrome/browser/chromeos/drive/resource_metadata_unittest.cc ResourceEntry dir_entry = CreateDirectoryEntry("dir101", local_id); local_id 417 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(dir_entry, &local_id)); local_id 419 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->GetFilePath(local_id).AsUTF8Unsafe()); local_id 424 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->AddEntry(file_entry3, &local_id)); local_id 428 chrome/browser/chromeos/drive/resource_metadata_unittest.cc resource_metadata_->AddEntry(file_entry, &local_id)); local_id 482 chrome/browser/chromeos/drive/resource_metadata_unittest.cc std::string local_id; local_id 484 chrome/browser/chromeos/drive/resource_metadata_unittest.cc base::FilePath::FromUTF8Unsafe("drive/root/dir1/file4"), &local_id)); local_id 489 chrome/browser/chromeos/drive/resource_metadata_unittest.cc local_id, &entry)); local_id 636 chrome/browser/chromeos/drive/resource_metadata_unittest.cc EXPECT_EQ(util::kDriveGrandRootLocalId, entry.local_id()); local_id 28 chrome/browser/chromeos/drive/search_metadata.cc ResultCandidate(const std::string& local_id, local_id 31 chrome/browser/chromeos/drive/search_metadata.cc : local_id(local_id), local_id 36 chrome/browser/chromeos/drive/search_metadata.cc std::string local_id; local_id 108 chrome/browser/chromeos/drive/search_metadata.cc if (entry.local_id() == util::kDriveTrashDirLocalId) { local_id 272 chrome/browser/chromeos/drive/search_metadata.cc base::FilePath path = resource_metadata->GetFilePath(candidate.local_id); local_id 70 chrome/browser/chromeos/drive/search_metadata_unittest.cc std::string local_id; local_id 74 chrome/browser/chromeos/drive/search_metadata_unittest.cc util::GetDriveMyDriveRootPath(), &local_id)); local_id 75 chrome/browser/chromeos/drive/search_metadata_unittest.cc const std::string root_local_id = local_id; local_id 79 chrome/browser/chromeos/drive/search_metadata_unittest.cc "Directory 1", "dir1", 1, root_local_id), &local_id)); local_id 80 chrome/browser/chromeos/drive/search_metadata_unittest.cc const std::string dir1_local_id = local_id; local_id 84 chrome/browser/chromeos/drive/search_metadata_unittest.cc "SubDirectory File 1.txt", "file1a", 2, dir1_local_id), &local_id)); local_id 86 chrome/browser/chromeos/drive/search_metadata_unittest.cc local_id, temp_file_md5, temp_file, FileCache::FILE_OPERATION_COPY)); local_id 92 chrome/browser/chromeos/drive/search_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(entry, &local_id)); local_id 96 chrome/browser/chromeos/drive/search_metadata_unittest.cc "Directory 2 excludeDir-test", "dir2", 4, root_local_id), &local_id)); local_id 101 chrome/browser/chromeos/drive/search_metadata_unittest.cc root_local_id), &local_id)); local_id 102 chrome/browser/chromeos/drive/search_metadata_unittest.cc const std::string dir3_local_id = local_id; local_id 106 chrome/browser/chromeos/drive/search_metadata_unittest.cc "Slash SubDir File.txt", "file3a", 6, dir3_local_id), &local_id)); local_id 110 chrome/browser/chromeos/drive/search_metadata_unittest.cc "File 2.txt", "file2", 7, root_local_id), &local_id)); local_id 112 chrome/browser/chromeos/drive/search_metadata_unittest.cc local_id, temp_file_md5, temp_file, FileCache::FILE_OPERATION_COPY)); local_id 119 chrome/browser/chromeos/drive/search_metadata_unittest.cc EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(entry, &local_id)); local_id 22 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc const std::string& local_id, local_id 43 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc const base::FilePath original_path = metadata->GetFilePath(local_id); local_id 46 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc error = metadata->RemoveEntry(local_id); local_id 57 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc entry.set_local_id(local_id); local_id 87 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc void EntryRevertPerformer::RevertEntry(const std::string& local_id, local_id 99 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Unretained(metadata_), local_id, entry_ptr), local_id 125 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc weak_ptr_factory_.GetWeakPtr(), callback, entry->local_id())); local_id 130 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc const std::string& local_id, local_id 140 chrome/browser/chromeos/drive/sync/entry_revert_performer.cc base::Bind(&FinishRevert, metadata_, local_id, status, local_id 52 chrome/browser/chromeos/drive/sync/entry_revert_performer.h void RevertEntry(const std::string& local_id, local_id 66 chrome/browser/chromeos/drive/sync/entry_revert_performer.h const std::string& local_id, local_id 57 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc src_entry.local_id(), local_id 66 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc GetLocalResourceEntryById(src_entry.local_id(), &result_entry)); local_id 83 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc entry.set_parent_local_id(my_drive.local_id()); local_id 86 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc std::string local_id; local_id 91 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc base::Unretained(metadata()), entry, &local_id), local_id 99 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc local_id, local_id 106 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntryById(local_id, &entry)); local_id 131 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc entry.local_id(), local_id 139 chrome/browser/chromeos/drive/sync/entry_revert_performer_unittest.cc GetLocalResourceEntryById(entry.local_id(), &entry)); local_id 41 chrome/browser/chromeos/drive/sync/entry_update_performer.cc const std::string& local_id, local_id 43 chrome/browser/chromeos/drive/sync/entry_update_performer.cc FileError error = metadata->GetResourceEntryById(local_id, local_id 53 chrome/browser/chromeos/drive/sync/entry_update_performer.cc local_state->drive_file_path = metadata->GetFilePath(local_id); local_id 58 chrome/browser/chromeos/drive/sync/entry_update_performer.cc cache->GetCacheEntry(local_id, &cache_entry); local_id 65 chrome/browser/chromeos/drive/sync/entry_update_performer.cc error = cache->Store(local_id, std::string(), empty_file, local_id 69 chrome/browser/chromeos/drive/sync/entry_update_performer.cc if (!cache->GetCacheEntry(local_id, &cache_entry)) local_id 74 chrome/browser/chromeos/drive/sync/entry_update_performer.cc if (cache_entry.is_dirty() && !cache->IsOpenedForWrite(local_id)) { local_id 77 chrome/browser/chromeos/drive/sync/entry_update_performer.cc error = cache->UpdateMd5(local_id); local_id 80 chrome/browser/chromeos/drive/sync/entry_update_performer.cc if (!cache->GetCacheEntry(local_id, &cache_entry)) local_id 85 chrome/browser/chromeos/drive/sync/entry_update_performer.cc error = cache->ClearDirty(local_id); local_id 89 chrome/browser/chromeos/drive/sync/entry_update_performer.cc error = cache->GetFile(local_id, &local_state->cache_file_path); local_id 115 chrome/browser/chromeos/drive/sync/entry_update_performer.cc const std::string& local_id, local_id 125 chrome/browser/chromeos/drive/sync/entry_update_performer.cc if (existing_local_id != local_id) { local_id 141 chrome/browser/chromeos/drive/sync/entry_update_performer.cc error = metadata->GetResourceEntryById(local_id, &entry); local_id 164 chrome/browser/chromeos/drive/sync/entry_update_performer.cc if (cache->GetCacheEntry(local_id, &cache_entry) && local_id 166 chrome/browser/chromeos/drive/sync/entry_update_performer.cc error = cache->ClearDirty(local_id); local_id 204 chrome/browser/chromeos/drive/sync/entry_update_performer.cc void EntryUpdatePerformer::UpdateEntry(const std::string& local_id, local_id 215 chrome/browser/chromeos/drive/sync/entry_update_performer.cc base::Bind(&PrepareUpdate, metadata_, cache_, local_id, local_state_ptr), local_id 236 chrome/browser/chromeos/drive/sync/entry_update_performer.cc remove_performer_->Remove(local_state->entry.local_id(), context, callback); local_id 276 chrome/browser/chromeos/drive/sync/entry_update_performer.cc local_state->entry.local_id(), local_id 295 chrome/browser/chromeos/drive/sync/entry_update_performer.cc local_state->entry.local_id(), local_id 320 chrome/browser/chromeos/drive/sync/entry_update_performer.cc local_state->entry.local_id(), local_id 339 chrome/browser/chromeos/drive/sync/entry_update_performer.cc context, callback, local_state->entry.local_id(), local_id 346 chrome/browser/chromeos/drive/sync/entry_update_performer.cc const std::string& local_id, local_id 355 chrome/browser/chromeos/drive/sync/entry_update_performer.cc entry_revert_performer_->RevertEntry(local_id, context, callback); local_id 370 chrome/browser/chromeos/drive/sync/entry_update_performer.cc metadata_, cache_, local_id, base::Passed(&resource_entry), local_id 57 chrome/browser/chromeos/drive/sync/entry_update_performer.h void UpdateEntry(const std::string& local_id, local_id 74 chrome/browser/chromeos/drive/sync/entry_update_performer.h const std::string& local_id, local_id 38 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc FileError StoreAndMarkDirty(const std::string& local_id, local_id 52 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, std::string(), path, local_id 78 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc src_entry.set_parent_local_id(dest_entry.local_id()); local_id 100 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc src_entry.local_id(), local_id 142 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const std::string local_id = GetLocalId(kFilePath); local_id 143 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_FALSE(local_id.empty()); local_id 146 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_EQ(FILE_ERROR_OK, StoreAndMarkDirty(local_id, kTestFileContent)); local_id 154 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 184 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 196 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const std::string local_id = GetLocalId(kFilePath); local_id 197 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_FALSE(local_id.empty()); local_id 200 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_EQ(FILE_ERROR_OK, StoreAndMarkDirty(local_id, kTestFileContent)); local_id 208 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 238 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 253 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 266 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 282 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 294 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc const std::string local_id = GetLocalId(kFilePath); local_id 295 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_FALSE(local_id.empty()); local_id 298 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_EQ(FILE_ERROR_OK, StoreAndMarkDirty(local_id, kTestFileContent)); local_id 308 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 317 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 331 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 344 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 356 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 372 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc entry.set_parent_local_id(parent.local_id()); local_id 378 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc std::string local_id; local_id 385 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc &local_id), local_id 393 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 412 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 440 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc entry.set_parent_local_id(parent.local_id()); local_id 446 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc std::string local_id; local_id 453 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc &local_id), local_id 459 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc EXPECT_EQ(FILE_ERROR_OK, StoreAndMarkDirty(local_id, kTestFileContent)); local_id 469 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 478 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 494 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 514 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc entry.set_parent_local_id(parent.local_id()); local_id 520 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc std::string local_id; local_id 527 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc &local_id), local_id 535 chrome/browser/chromeos/drive/sync/entry_update_performer_unittest.cc local_id, local_id 26 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id) { local_id 28 chrome/browser/chromeos/drive/sync/remove_performer.cc FileError error = metadata->GetResourceEntryById(local_id, &entry); local_id 38 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id, local_id 44 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Unretained(metadata), local_id), local_id 74 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id, local_id 76 chrome/browser/chromeos/drive/sync/remove_performer.cc FileError error = metadata->GetResourceEntryById(local_id, entry); local_id 79 chrome/browser/chromeos/drive/sync/remove_performer.cc return metadata->RemoveEntry(local_id); local_id 82 chrome/browser/chromeos/drive/sync/remove_performer.cc void RemovePerformer::Remove(const std::string& local_id, local_id 92 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&TryToRemoveLocally, metadata_, local_id, entry), local_id 122 chrome/browser/chromeos/drive/sync/remove_performer.cc entry->local_id()); local_id 125 chrome/browser/chromeos/drive/sync/remove_performer.cc TrashResource(context, callback, entry->resource_id(), entry->local_id()); local_id 132 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id) { local_id 140 chrome/browser/chromeos/drive/sync/remove_performer.cc weak_ptr_factory_.GetWeakPtr(), context, callback, local_id)); local_id 146 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id, local_id 153 chrome/browser/chromeos/drive/sync/remove_performer.cc entry_revert_performer_->RevertEntry(local_id, context, callback); local_id 155 chrome/browser/chromeos/drive/sync/remove_performer.cc file_system::DRIVE_SYNC_ERROR_DELETE_WITHOUT_PERMISSION, local_id); local_id 161 chrome/browser/chromeos/drive/sync/remove_performer.cc RemoveEntryOnUIThread(blocking_task_runner_.get(), metadata_, local_id, local_id 174 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id) { local_id 182 chrome/browser/chromeos/drive/sync/remove_performer.cc weak_ptr_factory_.GetWeakPtr(), context, callback, local_id)); local_id 188 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id, local_id 196 chrome/browser/chromeos/drive/sync/remove_performer.cc RemoveEntryOnUIThread(blocking_task_runner_.get(), metadata_, local_id, local_id 215 chrome/browser/chromeos/drive/sync/remove_performer.cc UnparentResourceAfterUpdateRemoteState(callback, local_id, local_id 222 chrome/browser/chromeos/drive/sync/remove_performer.cc UnparentResourceAfterUpdateRemoteState(callback, local_id, local_id 232 chrome/browser/chromeos/drive/sync/remove_performer.cc weak_ptr_factory_.GetWeakPtr(), callback, local_id)); local_id 237 chrome/browser/chromeos/drive/sync/remove_performer.cc const std::string& local_id, local_id 251 chrome/browser/chromeos/drive/sync/remove_performer.cc base::Bind(&UpdateLocalStateAfterUnparent, metadata_, local_id), local_id 52 chrome/browser/chromeos/drive/sync/remove_performer.h void Remove(const std::string& local_id, local_id 67 chrome/browser/chromeos/drive/sync/remove_performer.h const std::string& local_id); local_id 73 chrome/browser/chromeos/drive/sync/remove_performer.h const std::string& local_id, local_id 80 chrome/browser/chromeos/drive/sync/remove_performer.h const std::string& local_id); local_id 86 chrome/browser/chromeos/drive/sync/remove_performer.h const std::string& local_id, local_id 93 chrome/browser/chromeos/drive/sync/remove_performer.h const std::string& local_id, local_id 33 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc performer.Remove(entry.local_id(), local_id 44 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc performer.Remove(entry.local_id(), local_id 98 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc performer.Remove(entry.local_id(), local_id 130 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc std::string local_id; local_id 137 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc &local_id), local_id 143 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc performer.Remove(local_id, ClientContext(USER_INITIATED), local_id 147 chrome/browser/chromeos/drive/sync/remove_performer_unittest.cc EXPECT_EQ(FILE_ERROR_NOT_FOUND, GetLocalResourceEntryById(local_id, &entry)); local_id 57 chrome/browser/chromeos/drive/sync_client.cc const std::string& local_id = it->GetID(); local_id 60 chrome/browser/chromeos/drive/sync_client.cc to_update->push_back(local_id); local_id 77 chrome/browser/chromeos/drive/sync_client.cc to_fetch->push_back(local_id); local_id 83 chrome/browser/chromeos/drive/sync_client.cc to_update->push_back(local_id); local_id 95 chrome/browser/chromeos/drive/sync_client.cc const std::string& local_id = it->GetID(); local_id 100 chrome/browser/chromeos/drive/sync_client.cc FileError error = metadata->GetResourceEntryById(local_id, &entry); local_id 102 chrome/browser/chromeos/drive/sync_client.cc LOG(WARNING) << "Entry not found: " << local_id; local_id 113 chrome/browser/chromeos/drive/sync_client.cc error = cache->Remove(local_id); local_id 115 chrome/browser/chromeos/drive/sync_client.cc LOG(WARNING) << "Failed to remove cache entry: " << local_id; local_id 119 chrome/browser/chromeos/drive/sync_client.cc error = cache->Pin(local_id); local_id 121 chrome/browser/chromeos/drive/sync_client.cc LOG(WARNING) << "Failed to pin cache entry: " << local_id; local_id 125 chrome/browser/chromeos/drive/sync_client.cc local_ids->push_back(local_id); local_id 204 chrome/browser/chromeos/drive/sync_client.cc void SyncClient::AddFetchTask(const std::string& local_id) { local_id 206 chrome/browser/chromeos/drive/sync_client.cc AddFetchTaskInternal(local_id, delay_); local_id 209 chrome/browser/chromeos/drive/sync_client.cc void SyncClient::RemoveFetchTask(const std::string& local_id) { local_id 212 chrome/browser/chromeos/drive/sync_client.cc SyncTasks::iterator it = tasks_.find(SyncTasks::key_type(FETCH, local_id)); local_id 229 chrome/browser/chromeos/drive/sync_client.cc const std::string& local_id) { local_id 231 chrome/browser/chromeos/drive/sync_client.cc AddUpdateTaskInternal(context, local_id, delay_); local_id 234 chrome/browser/chromeos/drive/sync_client.cc void SyncClient::AddFetchTaskInternal(const std::string& local_id, local_id 242 chrome/browser/chromeos/drive/sync_client.cc local_id, local_id 248 chrome/browser/chromeos/drive/sync_client.cc local_id)); local_id 249 chrome/browser/chromeos/drive/sync_client.cc AddTask(SyncTasks::key_type(FETCH, local_id), task, delay); local_id 253 chrome/browser/chromeos/drive/sync_client.cc const std::string& local_id, local_id 260 chrome/browser/chromeos/drive/sync_client.cc local_id, local_id 264 chrome/browser/chromeos/drive/sync_client.cc local_id))); local_id 265 chrome/browser/chromeos/drive/sync_client.cc AddTask(SyncTasks::key_type(UPDATE, local_id), task, delay); local_id 320 chrome/browser/chromeos/drive/sync_client.cc const std::string& local_id = (*to_update)[i]; local_id 321 chrome/browser/chromeos/drive/sync_client.cc DVLOG(1) << "Queuing to update: " << local_id; local_id 322 chrome/browser/chromeos/drive/sync_client.cc AddUpdateTask(ClientContext(BACKGROUND), local_id); local_id 326 chrome/browser/chromeos/drive/sync_client.cc const std::string& local_id = (*to_fetch)[i]; local_id 327 chrome/browser/chromeos/drive/sync_client.cc DVLOG(1) << "Queuing to fetch: " << local_id; local_id 328 chrome/browser/chromeos/drive/sync_client.cc AddFetchTaskInternal(local_id, delay_); local_id 339 chrome/browser/chromeos/drive/sync_client.cc bool SyncClient::OnTaskComplete(SyncType type, const std::string& local_id) { local_id 342 chrome/browser/chromeos/drive/sync_client.cc const SyncTasks::key_type key(type, local_id); local_id 347 chrome/browser/chromeos/drive/sync_client.cc DVLOG(1) << "Running again: type = " << type << ", id = " << local_id; local_id 357 chrome/browser/chromeos/drive/sync_client.cc void SyncClient::OnFetchFileComplete(const std::string& local_id, local_id 363 chrome/browser/chromeos/drive/sync_client.cc if (!OnTaskComplete(FETCH, local_id)) local_id 367 chrome/browser/chromeos/drive/sync_client.cc DVLOG(1) << "Fetched " << local_id << ": " << local_path.value(); local_id 376 chrome/browser/chromeos/drive/sync_client.cc base::Bind(&FileCache::Unpin, base::Unretained(cache_), local_id), local_id 381 chrome/browser/chromeos/drive/sync_client.cc AddFetchTaskInternal(local_id, delay_); local_id 385 chrome/browser/chromeos/drive/sync_client.cc AddFetchTaskInternal(local_id, long_delay_); local_id 388 chrome/browser/chromeos/drive/sync_client.cc local_id); local_id 393 chrome/browser/chromeos/drive/sync_client.cc local_id); local_id 394 chrome/browser/chromeos/drive/sync_client.cc LOG(WARNING) << "Failed to fetch " << local_id local_id 400 chrome/browser/chromeos/drive/sync_client.cc void SyncClient::OnUpdateComplete(const std::string& local_id, local_id 404 chrome/browser/chromeos/drive/sync_client.cc if (!OnTaskComplete(UPDATE, local_id)) local_id 408 chrome/browser/chromeos/drive/sync_client.cc DVLOG(1) << "Updated " << local_id; local_id 417 chrome/browser/chromeos/drive/sync_client.cc base::Unretained(metadata_), local_id, entries), local_id 427 chrome/browser/chromeos/drive/sync_client.cc AddUpdateTaskInternal(ClientContext(BACKGROUND), local_id, local_id 432 chrome/browser/chromeos/drive/sync_client.cc AddUpdateTaskInternal(ClientContext(BACKGROUND), local_id, long_delay_); local_id 435 chrome/browser/chromeos/drive/sync_client.cc local_id); local_id 440 chrome/browser/chromeos/drive/sync_client.cc local_id); local_id 441 chrome/browser/chromeos/drive/sync_client.cc LOG(WARNING) << "Failed to update " << local_id << ": " local_id 455 chrome/browser/chromeos/drive/sync_client.cc AddUpdateTaskInternal(ClientContext(BACKGROUND), entry.local_id(), local_id 61 chrome/browser/chromeos/drive/sync_client.h void AddFetchTask(const std::string& local_id); local_id 64 chrome/browser/chromeos/drive/sync_client.h void RemoveFetchTask(const std::string& local_id); local_id 67 chrome/browser/chromeos/drive/sync_client.h void AddUpdateTask(const ClientContext& context, const std::string& local_id); local_id 112 chrome/browser/chromeos/drive/sync_client.h void AddFetchTaskInternal(const std::string& local_id, local_id 117 chrome/browser/chromeos/drive/sync_client.h const std::string& local_id, local_id 136 chrome/browser/chromeos/drive/sync_client.h bool OnTaskComplete(SyncType type, const std::string& local_id); local_id 139 chrome/browser/chromeos/drive/sync_client.h void OnFetchFileComplete(const std::string& local_id, local_id 145 chrome/browser/chromeos/drive/sync_client.h void OnUpdateComplete(const std::string& local_id, FileError error); local_id 246 chrome/browser/chromeos/drive/sync_client_unittest.cc std::string local_id; local_id 248 chrome/browser/chromeos/drive/sync_client_unittest.cc metadata_->GetIdByResourceId(resource_ids_[title], &local_id)); local_id 249 chrome/browser/chromeos/drive/sync_client_unittest.cc return local_id; local_id 449 chrome/browser/chromeos/drive/sync_client_unittest.cc entry1.set_parent_local_id(parent.local_id()); local_id 75 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc std::string local_id = GetPublicIdFromGUID(*value, local_id 79 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc if (local_id.empty()) { local_id 80 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc local_id = GetRandomId(*value, device_info->size()); local_id 81 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc value->SetString(local_id, device->guid()); local_id 83 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc device->set_public_id(local_id); local_id 130 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc StringAppendF(&out, " local_id: %s\n", entry.local_id().c_str()); local_id 270 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc void UpdateCacheEntry(const std::string& local_id, local_id 852 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc const std::string& local_id, local_id 858 chrome/browser/ui/webui/chromeos/drive_internals_ui.cc value.SetString("local_id", local_id); local_id 169 chrome/browser/ui/webui/media/webrtc_logs_ui.cc if (base::StringToDouble(i->local_id, &seconds_since_epoch)) { local_id 176 chrome/browser/ui/webui/media/webrtc_logs_ui.cc if (!i->local_id.empty()) local_id 177 chrome/browser/ui/webui/media/webrtc_logs_ui.cc value = log_dir_.AppendASCII(i->local_id) local_id 20 chrome/browser/upload_list.cc const std::string& local_id) local_id 21 chrome/browser/upload_list.cc : id(id), time(t), local_id(local_id) {} local_id 93 chrome/browser/upload_list.cc info.local_id = components[2]; local_id 28 chrome/browser/upload_list.h const std::string& local_id); local_id 35 chrome/browser/upload_list.h std::string local_id; local_id 35 chrome/browser/upload_list_unittest.cc EXPECT_STREQ("", upload_list->uploads_[0].local_id.c_str()); local_id 45 chrome/browser/upload_list_unittest.cc EXPECT_STREQ("", upload_list->uploads_[3].local_id.c_str()); local_id 69 chrome/browser/upload_list_unittest.cc EXPECT_STREQ(kTestLocalID, upload_list->uploads_[0].local_id.c_str()); local_id 79 chrome/browser/upload_list_unittest.cc EXPECT_STREQ(kTestLocalID, upload_list->uploads_[3].local_id.c_str()); local_id 603 content/browser/download/download_manager_impl_unittest.cc uint32 local_id(5); // Random value local_id 606 content/browser/download/download_manager_impl_unittest.cc EXPECT_FALSE(download_manager_->GetDownload(local_id)); local_id 611 content/browser/download/download_manager_impl_unittest.cc .WillOnce(RunCallback<0>(local_id)); local_id 629 content/browser/download/download_manager_impl_unittest.cc EXPECT_TRUE(download_manager_->GetDownload(local_id)); local_id 75 mojo/system/channel.cc MessageInTransit::EndpointId local_id; local_id 84 mojo/system/channel.cc local_id = next_local_id_; local_id 90 mojo/system/channel.cc local_id_to_endpoint_info_map_[local_id] = EndpointInfo(message_pipe, port); local_id 93 mojo/system/channel.cc message_pipe->Attach(port, scoped_refptr<Channel>(this), local_id); local_id 94 mojo/system/channel.cc return local_id; local_id 97 mojo/system/channel.cc void Channel::RunMessagePipeEndpoint(MessageInTransit::EndpointId local_id, local_id 104 mojo/system/channel.cc local_id_to_endpoint_info_map_.find(local_id); local_id 117 mojo/system/channel.cc MessageInTransit::EndpointId local_id, local_id 121 mojo/system/channel.cc DCHECK(local_id_to_endpoint_info_map_.find(local_id) != local_id 128 mojo/system/channel.cc message->set_source_id(local_id); local_id 155 mojo/system/channel.cc void Channel::DetachMessagePipeEndpoint(MessageInTransit::EndpointId local_id) { local_id 156 mojo/system/channel.cc DCHECK_NE(local_id, MessageInTransit::kInvalidEndpointId); local_id 159 mojo/system/channel.cc local_id_to_endpoint_info_map_.erase(local_id); local_id 213 mojo/system/channel.cc MessageInTransit::EndpointId local_id = message_view.destination_id(); local_id 214 mojo/system/channel.cc if (local_id == MessageInTransit::kInvalidEndpointId) { local_id 229 mojo/system/channel.cc local_id_to_endpoint_info_map_.find(local_id); local_id 233 mojo/system/channel.cc static_cast<unsigned>(local_id))); local_id 254 mojo/system/channel.cc static_cast<unsigned>(local_id), static_cast<int>(result))); local_id 78 mojo/system/channel.h void RunMessagePipeEndpoint(MessageInTransit::EndpointId local_id, local_id 87 mojo/system/channel.h void RunRemoteMessagePipeEndpoint(MessageInTransit::EndpointId local_id, local_id 101 mojo/system/channel.h void DetachMessagePipeEndpoint(MessageInTransit::EndpointId local_id); local_id 228 mojo/system/message_pipe.cc MessageInTransit::EndpointId local_id) { local_id 231 mojo/system/message_pipe.cc DCHECK_NE(local_id, MessageInTransit::kInvalidEndpointId); local_id 236 mojo/system/message_pipe.cc endpoints_[port]->Attach(channel, local_id); local_id 87 mojo/system/message_pipe.h MessageInTransit::EndpointId local_id); local_id 76 mojo/system/message_pipe_dispatcher.cc MessageInTransit::EndpointId local_id = local_id 79 mojo/system/message_pipe_dispatcher.cc << remote_id << ", new local ID = " << local_id << ")"; local_id 81 mojo/system/message_pipe_dispatcher.cc channel->RunMessagePipeEndpoint(local_id, remote_id); local_id 83 mojo/system/message_pipe_dispatcher.cc channel->RunRemoteMessagePipeEndpoint(local_id, remote_id); local_id 76 mojo/system/message_pipe_endpoint.h MessageInTransit::EndpointId local_id); local_id 90 mojo/system/proxy_message_pipe_endpoint.cc MessageInTransit::EndpointId local_id) { local_id 92 mojo/system/proxy_message_pipe_endpoint.cc DCHECK_NE(local_id, MessageInTransit::kInvalidEndpointId); local_id 98 mojo/system/proxy_message_pipe_endpoint.cc local_id_ = local_id; local_id 60 mojo/system/proxy_message_pipe_endpoint.h MessageInTransit::EndpointId local_id) OVERRIDE; local_id 175 net/socket/ssl_session_cache_openssl_unittest.cc int local_id = 1; local_id 179 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); local_id 188 net/socket/ssl_session_cache_openssl_unittest.cc int local_id = 1; local_id 192 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); local_id 307 net/socket/ssl_session_cache_openssl_unittest.cc int local_id = 1; local_id 315 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); local_id 325 net/socket/ssl_session_cache_openssl_unittest.cc std::string local_id_string = base::StringPrintf("%d", local_id++); local_id 185 sync/engine/process_updates_util.cc syncable::Id local_id = FindLocalIdToUpdate(trans, update); local_id 188 sync/engine/process_updates_util.cc if (local_id.IsNull()) { local_id 192 sync/engine/process_updates_util.cc CreateNewEntry(trans, local_id); local_id 196 sync/engine/process_updates_util.cc syncable::ModelNeutralMutableEntry target_entry(trans, GET_BY_ID, local_id); local_id 206 sync/engine/process_updates_util.cc if (local_id != server_id) { local_id 2134 sync/engine/syncer_unittest.cc syncable::Id local_id; local_id 2145 sync/engine/syncer_unittest.cc local_id = child.GetId(); local_id 2151 sync/engine/syncer_unittest.cc local_cache_guid(), local_id.GetServerId()); local_id 2177 sync/engine/syncer_unittest.cc syncable::Id local_id; local_id 2184 sync/engine/syncer_unittest.cc local_id = entry.GetId(); local_id 2204 sync/engine/syncer_unittest.cc update->set_originator_client_item_id(local_id.GetServerId()); local_id 2676 sync/engine/syncer_unittest.cc syncable::Id local_id = ids_.NewLocalId(); local_id 2680 sync/engine/syncer_unittest.cc local_id.GetServerId()); local_id 3049 sync/engine/syncer_unittest.cc syncable::Id local_id; local_id 3055 sync/engine/syncer_unittest.cc local_id = local_deleted.GetId(); local_id 3066 sync/engine/syncer_unittest.cc local_id.GetServerId()); local_id 43 sync/syncable/syncable_id.cc Id Id::CreateFromClientString(const string& local_id) { local_id 45 sync/syncable/syncable_id.cc if (local_id == "0") local_id 48 sync/syncable/syncable_id.cc id.s_ = string("c") + local_id; local_id 108 sync/syncable/syncable_id.h static Id CreateFromClientString(const std::string& local_id); local_id 450 webkit/browser/fileapi/sandbox_directory_database.cc FileId local_id = 0; local_id 457 webkit/browser/fileapi/sandbox_directory_database.cc if (!GetChildWithName(local_id, name, &local_id)) local_id 460 webkit/browser/fileapi/sandbox_directory_database.cc *file_id = local_id;