Index: chrome/browser/sync_file_system/drive_backend/sync_engine.h |
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine.h b/chrome/browser/sync_file_system/drive_backend/sync_engine.h |
index 45bf4b344f379ca6fd622d7161cf8c0958ba235b..85494f854d7f455d5855d714f60a0a6e53628ebf 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine.h |
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine.h |
@@ -121,8 +121,6 @@ class SyncEngine : public RemoteFileSyncService, |
drive::DriveServiceInterface* GetDriveService(); |
drive::DriveUploaderInterface* GetDriveUploader(); |
- MetadataDatabase* GetMetadataDatabase(); |
- SyncTaskManager* GetSyncTaskManagerForTesting(); |
void OnPendingFileListUpdated(int item_count); |
void OnFileStatusChanged(const fileapi::FileSystemURL& url, |
@@ -145,7 +143,10 @@ class SyncEngine : public RemoteFileSyncService, |
ExtensionServiceInterface* extension_service, |
SigninManagerBase* signin_manager); |
- void UpdateRegisteredApps(); |
+ // TODO(peria): Migrate this method into test code. |
+ // This method is not thread safe, because it requires to access metadata |
+ // database which may live in another thread. |
+ void UpdateRegisteredAppsForTesting(); |
scoped_ptr<drive::DriveServiceInterface> drive_service_; |
scoped_ptr<DriveServiceWrapper> drive_service_wrapper_; |