Index: webkit/plugins/npapi/plugin_list_mac.mm |
diff --git a/webkit/plugins/npapi/plugin_list_mac.mm b/webkit/plugins/npapi/plugin_list_mac.mm |
index 5f5ffeeae2f7e64d6543d1374084b68deca273a4..8b4852f04d95c38300f32f29b65770a3a9932f67 100644 |
--- a/webkit/plugins/npapi/plugin_list_mac.mm |
+++ b/webkit/plugins/npapi/plugin_list_mac.mm |
@@ -8,6 +8,7 @@ |
#import <Foundation/Foundation.h> |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/mac/mac_util.h" |
#include "base/mac/scoped_cftyperef.h" |
#include "base/memory/scoped_ptr.h" |
@@ -284,9 +285,9 @@ void PluginList::GetPluginDirectories(std::vector<base::FilePath>* plugin_dirs) |
void PluginList::GetPluginsInDir( |
const base::FilePath& path, std::vector<base::FilePath>* plugins) { |
- file_util::FileEnumerator enumerator(path, |
- false, // not recursive |
- file_util::FileEnumerator::DIRECTORIES); |
+ base::FileEnumerator enumerator(path, |
+ false, // not recursive |
+ base::FileEnumerator::DIRECTORIES); |
for (base::FilePath path = enumerator.Next(); !path.value().empty(); |
path = enumerator.Next()) { |
plugins->push_back(path); |