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

Unified Diff: content/gpu/gpu_info_collector_linux.cc

Issue 12208057: Add explicit base to FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « content/app/content_main_runner.cc ('k') | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_linux.cc
diff --git a/content/gpu/gpu_info_collector_linux.cc b/content/gpu/gpu_info_collector_linux.cc
index 06d2ae44c57cb77451b44e3ae2d5994ae678cb49..76fb6c90a137373b2c78535a9175f914153bce2a 100644
--- a/content/gpu/gpu_info_collector_linux.cc
+++ b/content/gpu/gpu_info_collector_linux.cc
@@ -31,8 +31,8 @@ namespace {
// This checks if a system supports PCI bus.
// We check the existence of /sys/bus/pci or /sys/bug/pci_express.
bool IsPciSupported() {
- const FilePath pci_path("/sys/bus/pci/");
- const FilePath pcie_path("/sys/bus/pci_express/");
+ 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));
}
@@ -40,9 +40,9 @@ bool IsPciSupported() {
// Scan /etc/ati/amdpcsdb.default for "ReleaseVersion".
// Return empty string on failing.
std::string CollectDriverVersionATI() {
- const FilePath::CharType kATIFileName[] =
+ const base::FilePath::CharType kATIFileName[] =
FILE_PATH_LITERAL("/etc/ati/amdpcsdb.default");
- FilePath ati_file_path(kATIFileName);
+ base::FilePath ati_file_path(kATIFileName);
if (!file_util::PathExists(ati_file_path))
return std::string();
std::string contents;
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698