Chromium Code Reviews| Index: extensions/common/file_util.cc |
| diff --git a/extensions/common/file_util.cc b/extensions/common/file_util.cc |
| index 90a78468cae548f7b2d76c097f9ebf710fca536a..3ddf6d0e402c7830ddd368a350012fc7b71accac 100644 |
| --- a/extensions/common/file_util.cc |
| +++ b/extensions/common/file_util.cc |
| @@ -56,16 +56,6 @@ |
| }; |
| SafeInstallationFlag g_use_safe_installation = DEFAULT; |
| -// Returns true if the given file path exists and is not zero-length. |
| -bool ValidateFilePath(const base::FilePath& path) { |
| - int64 size = 0; |
|
Lei Zhang
2015/12/29 19:48:39
avi@ got rid of base/basictypes.h, see chromium-de
|
| - if (!base::PathExists(path) || !base::GetFileSize(path, &size) || size == 0) { |
| - return false; |
| - } |
| - |
| - return true; |
| -} |
| - |
| // Returns true if the extension installation should flush all files and the |
| // directory. |
| bool UseSafeInstallation() { |