metadata_database 38 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (metadata_database()->HasDirtyTracker()) { metadata_database 45 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (metadata_database()->GetMultiParentFileTrackers( metadata_database 63 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (!metadata_database()->FindTrackerByTrackerID(*itr, &tracker)) { metadata_database 72 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc bool should_success = metadata_database()->FindTrackerByTrackerID( metadata_database 85 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (metadata_database()->GetConflictingTrackers(&trackers)) { metadata_database 92 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (!metadata_database()->FindTrackerByTrackerID(*itr, &tracker)) { metadata_database 155 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (!metadata_database()->FindTrackerByTrackerID(*itr, &tracker)) { metadata_database 161 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc if (!metadata_database()->FindFileByFileID( metadata_database 258 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc metadata_database()->UpdateByDeletedRemoteFileList( metadata_database 288 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc metadata_database()->UpdateByDeletedRemoteFile(file_id, callback); metadata_database 298 chrome/browser/sync_file_system/drive_backend/conflict_resolver.cc metadata_database()->UpdateByFileResource( metadata_database 75 chrome/browser/sync_file_system/drive_backend/conflict_resolver.h MetadataDatabase* metadata_database(); metadata_database 132 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc if (!metadata_database()->FindAppRootTracker(app_id, &tracker)) metadata_database 148 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc EXPECT_TRUE(metadata_database()->FindNearestActiveAncestor( metadata_database 278 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc metadata_database()->GetLargestFetchedChangeID(); metadata_database 454 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc return metadata_database()->CountFileMetadata(); metadata_database 458 chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc return metadata_database()->CountFileTracker(); metadata_database 28 chrome/browser/sync_file_system/drive_backend/folder_creator.cc MetadataDatabase* metadata_database, metadata_database 32 chrome/browser/sync_file_system/drive_backend/folder_creator.cc metadata_database_(metadata_database), metadata_database 37 chrome/browser/sync_file_system/drive_backend/folder_creator.h MetadataDatabase* metadata_database, metadata_database 63 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc metadata_database()->GetLargestFetchedChangeID() + 1, metadata_database 120 chrome/browser/sync_file_system/drive_backend/list_changes_task.cc metadata_database()->UpdateByChangeList( metadata_database 42 chrome/browser/sync_file_system/drive_backend/list_changes_task.h MetadataDatabase* metadata_database(); metadata_database 33 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc scoped_ptr<FileTracker> FindTrackerByID(MetadataDatabase* metadata_database, metadata_database 36 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc if (metadata_database->FindTrackerByTrackerID(tracker_id, tracker.get())) metadata_database 110 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc if (!metadata_database()->FindNearestActiveAncestor( metadata_database 176 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc FindTrackerByID(metadata_database(), metadata_database 192 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc FindTrackerByID(metadata_database(), metadata_database 268 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc bool should_success = metadata_database()->FindFileByFileID( metadata_database 283 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->UpdateTracker( metadata_database 374 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->UpdateByDeletedRemoteFile( metadata_database 450 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->UpdateByFileResource( metadata_database 466 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc bool should_success = metadata_database()->FindFileByFileID( metadata_database 481 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->UpdateTracker( metadata_database 508 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->UpdateByDeletedRemoteFile(file_id, callback); metadata_database 524 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->UpdateByFileResource( metadata_database 599 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->ReplaceActiveTrackerWithNewResource( metadata_database 614 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc drive_service(), metadata_database(), metadata_database 637 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc metadata_database()->TryActivateTracker( metadata_database 107 chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.h MetadataDatabase* metadata_database(); metadata_database 631 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<MetadataDatabase> metadata_database( metadata_database 634 chrome/browser/sync_file_system/drive_backend/metadata_database.cc metadata_database->db_ = db.Pass(); metadata_database 636 chrome/browser/sync_file_system/drive_backend/metadata_database.cc metadata_database->InitializeOnTaskRunner(); metadata_database 638 chrome/browser/sync_file_system/drive_backend/metadata_database.cc *metadata_database_out = metadata_database.Pass(); metadata_database 648 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<MetadataDatabase> metadata_database) { metadata_database 649 chrome/browser/sync_file_system/drive_backend/metadata_database.cc DCHECK(metadata_database); metadata_database 651 chrome/browser/sync_file_system/drive_backend/metadata_database.cc metadata_database->task_runner_; metadata_database 652 chrome/browser/sync_file_system/drive_backend/metadata_database.cc base::FilePath database_path = metadata_database->database_path_; metadata_database 654 chrome/browser/sync_file_system/drive_backend/metadata_database.cc metadata_database.reset(); metadata_database 1442 chrome/browser/sync_file_system/drive_backend/metadata_database.cc scoped_ptr<MetadataDatabase> metadata_database( metadata_database 1445 chrome/browser/sync_file_system/drive_backend/metadata_database.cc metadata_database->InitializeOnTaskRunner(); metadata_database 1447 chrome/browser/sync_file_system/drive_backend/metadata_database.cc metadata_database.reset(); metadata_database 1450 chrome/browser/sync_file_system/drive_backend/metadata_database.cc callback, status, base::Passed(&metadata_database))); metadata_database 154 chrome/browser/sync_file_system/drive_backend/metadata_database.h static void ClearDatabase(scoped_ptr<MetadataDatabase> metadata_database); metadata_database 231 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_FALSE(metadata_database()->FindFileByFileID( metadata_database 240 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_FALSE(metadata_database()->FindFileByFileID( metadata_database 242 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_FALSE(metadata_database()->FindTrackerByTrackerID( metadata_database 519 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc ASSERT_TRUE(metadata_database()->FindFileByFileID( metadata_database 528 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc ASSERT_TRUE(metadata_database()->FindTrackerByTrackerID( metadata_database 759 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_FALSE(metadata_database()->BuildPathForTracker( metadata_database 761 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->BuildPathForTracker( metadata_database 764 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->BuildPathForTracker( metadata_database 818 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_FALSE(metadata_database()->FindNearestActiveAncestor( metadata_database 827 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->FindNearestActiveAncestor( metadata_database 836 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->FindNearestActiveAncestor( metadata_database 846 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->FindNearestActiveAncestor( metadata_database 856 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->FindNearestActiveAncestor( metadata_database 867 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc EXPECT_TRUE(metadata_database()->FindNearestActiveAncestor( metadata_database 1145 chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc metadata_database()->DumpFiles(app_root.tracker.app_id()); metadata_database 46 chrome/browser/sync_file_system/drive_backend/register_app_task.cc return metadata_database() && metadata_database 47 chrome/browser/sync_file_system/drive_backend/register_app_task.cc metadata_database()->FindAppRootTracker(app_id_, NULL); metadata_database 56 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (!metadata_database() || !drive_service()) { metadata_database 61 chrome/browser/sync_file_system/drive_backend/register_app_task.cc int64 sync_root = metadata_database()->GetSyncRootTrackerID(); metadata_database 63 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (!metadata_database()->FindTrackersByParentAndTitle( metadata_database 86 chrome/browser/sync_file_system/drive_backend/register_app_task.cc int64 sync_root_tracker_id = metadata_database()->GetSyncRootTrackerID(); metadata_database 88 chrome/browser/sync_file_system/drive_backend/register_app_task.cc bool should_success = metadata_database()->FindTrackerByTrackerID( metadata_database 95 chrome/browser/sync_file_system/drive_backend/register_app_task.cc drive_service(), metadata_database(), metadata_database 119 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (metadata_database()->FindTrackerByTrackerID( metadata_database 130 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (!metadata_database()->FindTrackerByTrackerID( metadata_database 140 chrome/browser/sync_file_system/drive_backend/register_app_task.cc if (!metadata_database()->FindFileByFileID(tracker->file_id(), &file)) { metadata_database 171 chrome/browser/sync_file_system/drive_backend/register_app_task.cc metadata_database()->RegisterApp( metadata_database 52 chrome/browser/sync_file_system/drive_backend/register_app_task.h MetadataDatabase* metadata_database(); metadata_database 32 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc MetadataDatabase* metadata_database, metadata_database 36 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc if (!metadata_database->BuildPathForTracker( metadata_database 90 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc if (!drive_service() || !metadata_database() || !remote_change_processor()) { metadata_database 105 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc if (metadata_database()->GetNormalPriorityDirtyTracker( metadata_database 125 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database(), dirty_tracker_->file_id()); metadata_database 144 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc HasDisabledAppRoot(metadata_database(), *dirty_tracker_)) { metadata_database 153 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc DCHECK(!HasDisabledAppRoot(metadata_database(), *dirty_tracker_)); metadata_database 167 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->GetSyncRootTrackerID()) { metadata_database 183 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->GetSyncRootTrackerID()); metadata_database 236 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc if (!metadata_database()->FindTrackerByTrackerID( metadata_database 307 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->UpdateByDeletedRemoteFile( metadata_database 318 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->UpdateByFileResource( metadata_database 372 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->LowerTrackerPriority(dirty_tracker_->tracker_id()); metadata_database 387 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->LowerTrackerPriority(dirty_tracker_->tracker_id()); metadata_database 395 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc DCHECK(!HasDisabledAppRoot(metadata_database(), *dirty_tracker_)); metadata_database 455 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc DCHECK(!HasDisabledAppRoot(metadata_database(), *dirty_tracker_)); metadata_database 504 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc DCHECK(!HasDisabledAppRoot(metadata_database(), *dirty_tracker_)); metadata_database 523 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc DCHECK(!HasDisabledAppRoot(metadata_database(), *dirty_tracker_)); metadata_database 577 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->PopulateFolderByChildList( metadata_database 610 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc HasDisabledAppRoot(metadata_database(), *dirty_tracker_)) { metadata_database 620 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->UpdateTracker(dirty_tracker_->tracker_id(), metadata_database 638 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database(), *dirty_tracker_, &url_); metadata_database 727 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->LowerTrackerPriority(dirty_tracker_->tracker_id()); metadata_database 745 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc metadata_database()->LowerTrackerPriority(dirty_tracker_->tracker_id()); metadata_database 192 chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h MetadataDatabase* metadata_database(); metadata_database 542 chrome/browser/sync_file_system/drive_backend/sync_engine.cc scoped_ptr<MetadataDatabase> metadata_database = metadata_database 544 chrome/browser/sync_file_system/drive_backend/sync_engine.cc if (metadata_database) metadata_database 545 chrome/browser/sync_file_system/drive_backend/sync_engine.cc context_->SetMetadataDatabase(metadata_database.Pass()); metadata_database 55 chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc scoped_ptr<MetadataDatabase> metadata_database) { metadata_database 56 chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc if (metadata_database) metadata_database 57 chrome/browser/sync_file_system/drive_backend/sync_engine_context.cc metadata_database_ = metadata_database.Pass(); metadata_database 42 chrome/browser/sync_file_system/drive_backend/sync_engine_context.h void SetMetadataDatabase(scoped_ptr<MetadataDatabase> metadata_database); metadata_database 164 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc MetadataDatabase* metadata_database = sync_engine()->GetMetadataDatabase(); metadata_database 170 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker(kAppID, &tracker)); metadata_database 176 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker(kAppID, &tracker)); metadata_database 182 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker(kAppID, &tracker)); metadata_database 191 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_FALSE(metadata_database->FindAppRootTracker(kAppID, &tracker)); metadata_database 214 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc MetadataDatabase* metadata_database = sync_engine()->GetMetadataDatabase(); metadata_database 217 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker("app_0", &tracker)); metadata_database 220 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker("app_1", &tracker)); metadata_database 223 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker("app_2", &tracker)); metadata_database 232 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker("app_0", &tracker)); metadata_database 235 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_TRUE(metadata_database->FindAppRootTracker("app_1", &tracker)); metadata_database 238 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc ASSERT_FALSE(metadata_database->FindAppRootTracker("app_2", &tracker)); metadata_database 44 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc metadata_database()->UnregisterApp(app_id_, callback); metadata_database 49 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc int64 sync_root_tracker_id = metadata_database()->GetSyncRootTrackerID(); metadata_database 51 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc if (!metadata_database()->FindTrackersByParentAndTitle( metadata_database 59 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc if (!metadata_database()->FindTrackerByTrackerID( metadata_database 74 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc metadata_database()->GetLargestKnownChangeID())); metadata_database 87 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.cc metadata_database()->UnregisterApp(app_id_, callback); metadata_database 50 chrome/browser/sync_file_system/drive_backend/uninstall_app_task.h MetadataDatabase* metadata_database();