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

Unified Diff: content/gpu/gpu_info_collector_win.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/gpu/gpu_info_collector_linux.cc ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_win.cc
diff --git a/content/gpu/gpu_info_collector_win.cc b/content/gpu/gpu_info_collector_win.cc
index 2ec481631b85e9832e5e0ed5be85562c19b2b9ef..c9e833b2e39313ee703258df9dbb374e3305ce3c 100644
--- a/content/gpu/gpu_info_collector_win.cc
+++ b/content/gpu/gpu_info_collector_win.cc
@@ -62,18 +62,18 @@ content::GpuPerformanceStats RetrieveGpuPerformanceStats() {
// Find most recent formal assessment results.
file_util::FileEnumerator file_enumerator(
- FilePath(winsat_results_path),
+ base::FilePath(winsat_results_path),
false, // not recursive
file_util::FileEnumerator::FILES,
FILE_PATH_LITERAL("* * Formal.Assessment (*).WinSAT.xml"));
- FilePath current_results;
- for (FilePath results = file_enumerator.Next(); !results.empty();
+ base::FilePath current_results;
+ for (base::FilePath results = file_enumerator.Next(); !results.empty();
results = file_enumerator.Next()) {
// The filenames start with the date and time as yyyy-mm-dd hh.mm.ss.xxx,
// so the greatest file lexicographically is also the most recent file.
- if (FilePath::CompareLessIgnoreCase(current_results.value(),
- results.value()))
+ if (base::FilePath::CompareLessIgnoreCase(current_results.value(),
+ results.value()))
current_results = results;
}
« no previous file with comments | « content/gpu/gpu_info_collector_linux.cc ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698