Replace direct use of DriveIntegrationServiceFactory with drive::util::GetFileSystemByProfile.
DriveIntegrationServiceFactory::GetForProfile will return the instance regardless of whether the Drive is enabled or not. GetFileSystemByProfile will still be looking at enabled state. BUG=284972 TEST=Ran unit_tests Review URL: https://chromiumcodereview.appspot.com/23739005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221998 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment