summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 22:28:49 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 22:28:49 +0000
commitd8591ca54e401ef17ebb32f51c9e9816f5415bf7 (patch)
treeab1b0626af7629bc34680ff57ab5d818fda6c274
parent2e22dd74364034afcb59d08b76040be6f3ab92a7 (diff)
downloadchromium_src-d8591ca54e401ef17ebb32f51c9e9816f5415bf7.zip
chromium_src-d8591ca54e401ef17ebb32f51c9e9816f5415bf7.tar.gz
chromium_src-d8591ca54e401ef17ebb32f51c9e9816f5415bf7.tar.bz2
Change file_util_proxy::Entry::isDirectory to is_directory.
BUG=54228 TEST=none, just code cleanup Review URL: http://codereview.chromium.org/3357003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58415 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/file_util_proxy.cc2
-rw-r--r--base/file_util_proxy.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/base/file_util_proxy.cc b/base/file_util_proxy.cc
index e7c0263..d356ed3 100644
--- a/base/file_util_proxy.cc
+++ b/base/file_util_proxy.cc
@@ -377,7 +377,7 @@ class RelayReadDirectory : public MessageLoopRelay {
base::file_util_proxy::Entry entry;
file_util::FileEnumerator::FindInfo info;
file_enum.GetFindInfo(&info);
- entry.isDirectory = file_enum.IsDirectory(info);
+ entry.is_directory = file_enum.IsDirectory(info);
// This will just give the entry's name instead of entire path
// if we use current.value().
entry.name = file_util::FileEnumerator::GetFilename(info).value();
diff --git a/base/file_util_proxy.h b/base/file_util_proxy.h
index dec06e3..3fe7d58 100644
--- a/base/file_util_proxy.h
+++ b/base/file_util_proxy.h
@@ -21,11 +21,13 @@ struct FileInfo;
namespace base {
namespace file_util_proxy {
- // Holds metadata for file or directory entry.
+
+// Holds metadata for file or directory entry.
struct Entry {
FilePath::StringType name;
- bool isDirectory;
+ bool is_directory;
};
+
} // namespace file_util_proxy
class MessageLoopProxy;