summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 20:56:49 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 20:56:49 +0000
commit9eae4e686d49213ee7dba24cdf28f13d38b99741 (patch)
tree353f674537dc93191c54033123904fc84f2eb0cd /remoting
parentba23e5d378762bf5e7a25f8f6591674c5d25e365 (diff)
downloadchromium_src-9eae4e686d49213ee7dba24cdf28f13d38b99741.zip
chromium_src-9eae4e686d49213ee7dba24cdf28f13d38b99741.tar.gz
chromium_src-9eae4e686d49213ee7dba24cdf28f13d38b99741.tar.bz2
Move more file_util functions to base namespace.
This moves DevicePathToDriveLetterPath, NormalizeToNativeFilePath, IsLink, and GetFileInfo. This also removes some explicit "base::" usage in base files I touched. TBR=jam Review URL: https://codereview.chromium.org/105293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238763 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/policy_hack/policy_watcher_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/policy_hack/policy_watcher_linux.cc b/remoting/host/policy_hack/policy_watcher_linux.cc
index 0a50b64..da57f68 100644
--- a/remoting/host/policy_hack/policy_watcher_linux.cc
+++ b/remoting/host/policy_hack/policy_watcher_linux.cc
@@ -103,7 +103,7 @@ class PolicyWatcherLinux : public PolicyWatcher {
base::PlatformFileInfo file_info;
// If the path does not exist or points to a directory, it's safe to load.
- if (!file_util::GetFileInfo(config_dir_, &file_info) ||
+ if (!base::GetFileInfo(config_dir_, &file_info) ||
!file_info.is_directory) {
return last_modification;
}
@@ -115,7 +115,7 @@ class PolicyWatcherLinux : public PolicyWatcher {
for (base::FilePath config_file = file_enumerator.Next();
!config_file.empty();
config_file = file_enumerator.Next()) {
- if (file_util::GetFileInfo(config_file, &file_info) &&
+ if (base::GetFileInfo(config_file, &file_info) &&
!file_info.is_directory) {
last_modification = std::max(last_modification,
file_info.last_modified);