Index: chrome/browser/ui/app_list/app_list_syncable_service.cc |
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc |
index 4ac027b67bb83ff747ed158052de4bcda8ca5cd9..9531ee5035eb718c0af2f61d10f9306f2a46afb4 100644 |
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc |
@@ -272,6 +272,10 @@ void AppListSyncableService::BuildModel() { |
drive_app_provider_.reset(new DriveAppProvider(profile_)); |
} |
+void AppListSyncableService::ResetDriveAppProviderForTest() { |
+ drive_app_provider_.reset(); |
+} |
+ |
void AppListSyncableService::Shutdown() { |
// DriveAppProvider touches other KeyedServices in its dtor and needs be |
// released in shutdown stage. |