summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 21:42:48 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 21:42:48 +0000
commite318fe5ea4130cccbf266c1e25c9703b811f7bb6 (patch)
tree03d20b1fbd92104846d3e39b01a223c61dd2774c /base/file_util.h
parent677445e895b94dc7003e3b3dc752943c6e290a5f (diff)
downloadchromium_src-e318fe5ea4130cccbf266c1e25c9703b811f7bb6.zip
chromium_src-e318fe5ea4130cccbf266c1e25c9703b811f7bb6.tar.gz
chromium_src-e318fe5ea4130cccbf266c1e25c9703b811f7bb6.tar.bz2
Make MemoryMappedFile::IsValid const
TEST=none BUG=none Review URL: http://codereview.chromium.org/6574005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75794 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_util.h b/base/file_util.h
index ab6906d..d89fa71 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -510,7 +510,7 @@ class MemoryMappedFile {
size_t length() const { return length_; }
// Is file_ a valid file handle that points to an open, memory mapped file?
- bool IsValid();
+ bool IsValid() const;
private:
// Open the given file and pass it to MapFileToMemoryInternal().