Index: chrome/browser/chromeos/drive/fake_file_system.cc |
diff --git a/chrome/browser/chromeos/drive/fake_file_system.cc b/chrome/browser/chromeos/drive/fake_file_system.cc |
index c53f260c4ebc8e6cec75780beb859ca7aed8d9e7..c2cf36d538bab65af2ff824b9589129a08791a19 100644 |
--- a/chrome/browser/chromeos/drive/fake_file_system.cc |
+++ b/chrome/browser/chromeos/drive/fake_file_system.cc |
@@ -146,9 +146,6 @@ void FakeFileSystem::GetResourceEntry( |
const GetResourceEntryCallback& callback) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- // Now, we only support files under my drive. |
- DCHECK(!util::IsUnderDriveMountPoint(file_path)); |
- |
if (file_path == util::GetDriveMyDriveRootPath()) { |
// Specialized for the root entry. |
drive_service_->GetAboutResource( |
@@ -158,6 +155,8 @@ void FakeFileSystem::GetResourceEntry( |
return; |
} |
+ // Now, we only support files under my drive. |
+ DCHECK(util::GetDriveMyDriveRootPath().IsParent(file_path)); |
GetResourceEntry( |
file_path.DirName(), |
base::Bind( |