Searched refs:file_stream (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium/chrome/browser/download/
H A Ddownload_types.cc18 file_stream(info.file_stream) {
26 file_stream = info.file_stream;
H A Ddownload_types.h14 #include "net/base/file_stream.h"
43 linked_ptr<net::FileStream> file_stream; member in struct:DownloadSaveInfo
H A Ddrag_download_util.cc16 #include "net/base/file_stream.h"
61 scoped_ptr<FileStream> file_stream(new FileStream);
79 file_stream->Open(new_file_path, base::PLATFORM_FILE_CREATE |
82 return file_stream.release();
H A Ddrag_download_file.cc15 #include "net/base/file_stream.h"
19 linked_ptr<net::FileStream> file_stream,
24 : file_stream_(file_stream),
35 DCHECK(!file_name_or_path.empty() && !file_stream.get());
38 DCHECK(!file_name_or_path.empty() && file_stream.get());
113 save_info.file_stream = file_stream_;
17 DragDownloadFile( const FilePath& file_name_or_path, linked_ptr<net::FileStream> file_stream, const GURL& url, const GURL& referrer, const std::string& referrer_encoding, TabContents* tab_contents) argument
H A Dbase_file.h32 const linked_ptr<net::FileStream>& file_stream);
H A Ddownload_file.cc22 info->save_info.file_stream),
H A Ddrag_download_file.h30 // second parameter file_stream should be NULL.
37 linked_ptr<net::FileStream> file_stream,
H A Dbase_file.cc12 #include "net/base/file_stream.h"
27 const linked_ptr<net::FileStream>& file_stream)
31 file_stream_(file_stream),
23 BaseFile(const FilePath& full_path, const GURL& source_url, const GURL& referrer_url, int64 received_bytes, const linked_ptr<net::FileStream>& file_stream) argument
H A Ddownload_file_unittest.cc16 #include "net/base/file_stream.h"
62 info.save_info.file_stream = file_stream_;
/external/chromium_org/net/base/
H A Dupload_file_element_reader.cc11 #include "net/base/file_stream.h"
31 scoped_ptr<FileStream> file_stream(new FileStream(NULL));
32 int64 rv = file_stream->OpenSync(
38 file_stream.reset();
40 rv = file_stream->SeekSync(FROM_BEGIN, range_offset);
44 file_stream.reset();
49 if (file_stream.get() &&
56 out_file_stream->reset(file_stream.release());
77 FileStream* file_stream) {
85 DCHECK(file_stream); // file_strea
74 ReadInternal(scoped_refptr<IOBuffer> buf, int buf_length, uint64 bytes_remaining, FileStream* file_stream) argument
140 ScopedFileStreamPtr* file_stream = local
207 OnInitCompleted( ScopedFileStreamPtr* file_stream, uint64* content_length, const CompletionCallback& callback, int result) argument
219 OnReadCompleted( ScopedFileStreamPtr file_stream, const CompletionCallback& callback, int result) argument
[all...]
H A Dupload_file_element_reader.h59 void operator() (FileStream* file_stream) const;
79 void OnInitCompleted(ScopedFileStreamPtr* file_stream,
85 void OnReadCompleted(ScopedFileStreamPtr file_stream,
/external/chromium_org/content/public/browser/
H A Ddownload_save_info.h11 #include "net/base/file_stream.h"
33 scoped_ptr<net::FileStream> file_stream; member in struct:content::DownloadSaveInfo
H A Ddownload_url_parameters.h100 void set_file_stream(scoped_ptr<net::FileStream> file_stream) { argument
101 save_info_.file_stream = file_stream.Pass();
136 // will not have a file_stream attached to it after this call.
138 return save_info_.file_stream.Pass();
/external/chromium/webkit/glue/
H A Dwebfileutilities_impl.cc10 #include "net/base/file_stream.h"
130 net::FileStream file_stream(handle, 0);
131 return file_stream.Seek(static_cast<net::Whence>(origin), offset);
138 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE);
139 return file_stream.Truncate(offset) >= 0;
149 net::FileStream file_stream(handle, base::PLATFORM_FILE_READ);
150 return file_stream.Read(data, length, NULL);
158 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE);
159 return file_stream.Write(data, length, NULL);
/external/chromium_org/chrome/browser/media_galleries/win/
H A Dsnapshot_file_details.cc48 IStream* file_stream) {
49 file_stream_ = file_stream;
47 set_device_file_stream( IStream* file_stream) argument
H A Dmtp_device_operations_util.h52 // On success, returns S_OK and sets |file_stream| and |optimal_transfer_size|.
53 // On failure, returns an error code and |file_stream| and
57 IStream** file_stream,
H A Dsnapshot_file_details.h45 void set_device_file_stream(IStream* file_stream);
87 // The number of bytes of data to read from the |file_stream| object
/external/chromium_org/content/browser/download/
H A Ddrag_download_util.cc18 #include "net/base/file_stream.h"
65 scoped_ptr<FileStream> file_stream(new FileStream(net_log));
86 file_stream->OpenSync(new_file_path, base::PLATFORM_FILE_CREATE |
89 return file_stream.release();
H A Ddrag_download_file.cc16 #include "net/base/file_stream.h"
56 void InitiateDownload(scoped_ptr<net::FileStream> file_stream, argument
70 params->set_file_stream(file_stream.Pass()); // Nulls file_stream.
152 scoped_ptr<net::FileStream> file_stream,
158 file_stream_(file_stream.Pass()),
151 DragDownloadFile(const base::FilePath& file_path, scoped_ptr<net::FileStream> file_stream, const GURL& url, const Referrer& referrer, const std::string& referrer_encoding, WebContents* web_contents) argument
H A Ddrag_download_file.h18 #include "net/base/file_stream.h"
40 // thread is involved. |file_stream| must be null on windows but non-null on
43 scoped_ptr<net::FileStream> file_stream,
H A Dbase_file.h17 #include "net/base/file_stream.h"
43 scoped_ptr<net::FileStream> file_stream,
H A Dbase_file.cc20 #include "net/base/file_stream.h"
34 scoped_ptr<net::FileStream> file_stream,
39 file_stream_(file_stream.Pass()),
28 BaseFile(const base::FilePath& full_path, const GURL& source_url, const GURL& referrer_url, int64 received_bytes, bool calculate_hash, const std::string& hash_state_bytes, scoped_ptr<net::FileStream> file_stream, const net::BoundNetLog& bound_net_log) argument
/external/chromium/chrome/browser/ui/gtk/
H A Dtab_contents_drag_source.cc20 #include "net/base/file_stream.h"
236 net::FileStream* file_stream = local
238 if (file_stream) {
243 linked_ptr<net::FileStream>(file_stream),
/external/chromium_org/content/browser/web_contents/
H A Dweb_drag_source_gtk.cc22 #include "net/base/file_stream.h"
243 scoped_ptr<net::FileStream> file_stream(
247 if (file_stream) {
252 file_stream.Pass(),
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dlinuxdevicemanager.cc185 talk_base::FileStream* file_stream = local
188 if (file_stream == NULL) return "";
190 config_parser.Attach(file_stream);

Completed in 766 milliseconds

12