diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:38:11 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:38:11 +0000 |
commit | 07167e8f26d8c0272dd528944f0d105aa2962bab (patch) | |
tree | 4afb3d77169a9f1ac873a86cb3eafa824d6e47a0 /net/base/file_stream.h | |
parent | 25a873babf94d9e1647a9722d313b4e52286220d (diff) | |
download | chromium_src-07167e8f26d8c0272dd528944f0d105aa2962bab.zip chromium_src-07167e8f26d8c0272dd528944f0d105aa2962bab.tar.gz chromium_src-07167e8f26d8c0272dd528944f0d105aa2962bab.tar.bz2 |
Change FileStream to use FilePath instead of wstring.
Review URL: http://codereview.chromium.org/18764
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/file_stream.h')
-rw-r--r-- | net/base/file_stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/file_stream.h b/net/base/file_stream.h index ccdcf80..67f93ed 100644 --- a/net/base/file_stream.h +++ b/net/base/file_stream.h @@ -10,6 +10,7 @@ #ifndef NET_BASE_FILE_STREAM_H_ #define NET_BASE_FILE_STREAM_H_ +#include "base/file_path.h" #include "base/platform_file.h" #include "net/base/completion_callback.h" @@ -37,7 +38,7 @@ class FileStream { // cannot be used unless this method returns OK. If the file cannot be // opened then an error code is returned. // open_flags is a bitfield of base::PlatformFileFlags - int Open(const std::wstring& path, int open_flags); + int Open(const FilePath& path, int open_flags); // Returns true if Open succeeded and Close has not been called. bool IsOpen() const; |