OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "extensions/utility/extension_extractor_filter.h" | |
6 | |
7 #include "base/files/file_path.h" | |
8 #include "base/macros.h" | |
9 | |
10 namespace extensions { | |
11 | |
12 bool ExtensionExtractorFilter::ShouldExtractFile( | |
13 const base::FilePath& file_path) { | |
14 return file_path.Extension() != FILE_PATH_LITERAL(".exe"); | |
Devlin
2016/09/08 21:10:16
Should this be FinalExtension()?
meacer
2016/09/08 22:40:10
Extension() and FinalExtension() seems to differ o
| |
15 } | |
16 | |
17 } // namespace extensions | |
OLD | NEW |