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

Unified Diff: webkit/fileapi/media/filtering_file_enumerator.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « webkit/fileapi/media/filtering_file_enumerator.h ('k') | webkit/fileapi/media/media_path_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/media/filtering_file_enumerator.cc
diff --git a/webkit/fileapi/media/filtering_file_enumerator.cc b/webkit/fileapi/media/filtering_file_enumerator.cc
index e2916974a2e466ab01be9a11a918839f08f82905..393cfa24c7e8c8affd84cb7062b99a5da87fc0e9 100644
--- a/webkit/fileapi/media/filtering_file_enumerator.cc
+++ b/webkit/fileapi/media/filtering_file_enumerator.cc
@@ -21,8 +21,8 @@ namespace {
// Used to skip the hidden folders and files. Returns true if the file specified
// by |path| should be skipped.
-bool ShouldSkip(const FilePath& path) {
- const FilePath& base_name = path.BaseName();
+bool ShouldSkip(const base::FilePath& path) {
+ const base::FilePath& base_name = path.BaseName();
if (base_name.empty())
return false;
@@ -77,9 +77,9 @@ FilteringFileEnumerator::FilteringFileEnumerator(
FilteringFileEnumerator::~FilteringFileEnumerator() {
}
-FilePath FilteringFileEnumerator::Next() {
+base::FilePath FilteringFileEnumerator::Next() {
while (true) {
- FilePath next = base_enumerator_->Next();
+ base::FilePath next = base_enumerator_->Next();
if (ShouldSkip(next))
continue;
« no previous file with comments | « webkit/fileapi/media/filtering_file_enumerator.h ('k') | webkit/fileapi/media/media_path_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698