Index: chrome/browser/chromeos/gdata/gdata_file_system.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
index 245af9b9db5c73e9df8d835a37d48a4ca8931d2b..808ac0eae55447598be6b1326170f4d4583d11cf 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
@@ -3083,8 +3083,11 @@ void GDataFileSystem::AddUploadedFileToCache( |
params->callback)); |
} else { |
NOTREACHED() << "Unexpected upload mode: " << params->upload_mode; |
+ // Shouldn't reach here, so the line below should not make much sense, but |
+ // since calling |callback| exactly once is our obligation, we'd better call |
+ // it for not to clutter further more. |
+ params->callback.Run(); |
} |
- params->callback.Run(); |
} |
void GDataFileSystem::Observe(int type, |