Chromium Code Reviews| 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..41c84a31c865f10759b25d0dd319e869c273b5c3 100644 |
| --- a/chrome/browser/chromeos/drive/fake_file_system.cc |
| +++ b/chrome/browser/chromeos/drive/fake_file_system.cc |
| @@ -145,10 +145,9 @@ void FakeFileSystem::GetResourceEntry( |
| const base::FilePath& file_path, |
| const GetResourceEntryCallback& callback) { |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| + DCHECK(file_path.BaseName() != file_path); |
|
kinaba
2014/09/19 01:47:18
The condition looks a bit detouring.
What we want
hirono
2014/09/22 04:53:28
Let me do this. Thank you!
|
| // 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( |