Home | History | Annotate | Download | only in base

Lines Matching defs:file

3 // found in the LICENSE file.
58 // the file when we get around to reading it. We should probably find a way
59 // to lock the file or somehow protect against this error condition.
72 // We need to open the file here to decide if we should report the file's
73 // size or zero. We cache the open file, so that we can still read it when
96 FileStream* file = file_stream_;
98 return file;
101 scoped_ptr<FileStream> file(new FileStream());
102 int64 rv = file->Open(file_path_,
105 // If the file can't be opened, we'll just upload an empty file.
111 rv = file->Seek(FROM_BEGIN, file_range_offset_);
120 return file.release();