Index: remoting/host/policy_hack/policy_watcher_linux.cc |
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc |
index 641af9c065cdc07a17450cbb5ae2e3dcd19b992b..cb63ef0659a4e5e47126ae843b728a0ee514cc51 100644 |
--- a/remoting/host/policy_hack/policy_watcher_linux.cc |
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc |
@@ -17,6 +17,7 @@ |
#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/file_util.h" |
+#include "base/files/file_enumerator.h" |
#include "base/files/file_path.h" |
#include "base/files/file_path_watcher.h" |
#include "base/json/json_file_value_serializer.h" |
@@ -110,9 +111,9 @@ class PolicyWatcherLinux : public PolicyWatcher { |
} |
// Enumerate the files and find the most recent modification timestamp. |
- file_util::FileEnumerator file_enumerator(config_dir_, |
- false, |
- file_util::FileEnumerator::FILES); |
+ base::FileEnumerator file_enumerator(config_dir_, |
+ false, |
+ base::FileEnumerator::FILES); |
for (base::FilePath config_file = file_enumerator.Next(); |
!config_file.empty(); |
config_file = file_enumerator.Next()) { |
@@ -131,8 +132,8 @@ class PolicyWatcherLinux : public PolicyWatcher { |
DCHECK(OnPolicyWatcherThread()); |
// Enumerate the files and sort them lexicographically. |
std::set<base::FilePath> files; |
- file_util::FileEnumerator file_enumerator(config_dir_, false, |
- file_util::FileEnumerator::FILES); |
+ base::FileEnumerator file_enumerator(config_dir_, false, |
+ base::FileEnumerator::FILES); |
for (base::FilePath config_file_path = file_enumerator.Next(); |
!config_file_path.empty(); config_file_path = file_enumerator.Next()) |
files.insert(config_file_path); |