Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Unified Diff: gpu/config/gpu_info_collector_x11.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/extension_resource.cc ('k') | gpu/tools/compositor_model_bench/compositor_model_bench.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_collector_x11.cc
diff --git a/gpu/config/gpu_info_collector_x11.cc b/gpu/config/gpu_info_collector_x11.cc
index d3a1b65c7a9459bb89029dbf67f8691ba0b3efcf..84decdb05eac90383f65e1a43a286cbf85c82ad0 100644
--- a/gpu/config/gpu_info_collector_x11.cc
+++ b/gpu/config/gpu_info_collector_x11.cc
@@ -35,8 +35,8 @@ namespace {
bool IsPciSupported() {
const base::FilePath pci_path("/sys/bus/pci/");
const base::FilePath pcie_path("/sys/bus/pci_express/");
- return (file_util::PathExists(pci_path) ||
- file_util::PathExists(pcie_path));
+ return (base::PathExists(pci_path) ||
+ base::PathExists(pcie_path));
}
// Scan /etc/ati/amdpcsdb.default for "ReleaseVersion".
@@ -45,7 +45,7 @@ std::string CollectDriverVersionATI() {
const base::FilePath::CharType kATIFileName[] =
FILE_PATH_LITERAL("/etc/ati/amdpcsdb.default");
base::FilePath ati_file_path(kATIFileName);
- if (!file_util::PathExists(ati_file_path))
+ if (!base::PathExists(ati_file_path))
return std::string();
std::string contents;
if (!file_util::ReadFileToString(ati_file_path, &contents))
« no previous file with comments | « extensions/common/extension_resource.cc ('k') | gpu/tools/compositor_model_bench/compositor_model_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698