/external/chromium/chrome/browser/download/ |
download_file_unittest.cc | 103 scoped_ptr<DownloadFile> download_file_; member in class:DownloadFileTest 130 CreateDownloadFile(&download_file_, 0); 131 ASSERT_TRUE(download_file_->Initialize(true)); 132 FilePath initial_path(download_file_->full_path()); 140 EXPECT_TRUE(download_file_->Rename(path_1)); 141 FilePath renamed_path = download_file_->full_path(); 149 AppendDataToFile(&download_file_, kTestData1); 150 AppendDataToFile(&download_file_, kTestData2); 153 EXPECT_TRUE(download_file_->Rename(path_2)); 154 renamed_path = download_file_->full_path() [all...] |
/external/chromium/chrome/browser/ |
plugin_download_helper.cc | 26 download_file_.reset(new net::FileStream()); 61 if (!download_file_->IsOpen()) { 65 download_file_->Open(download_file_path_, 68 if (!download_file_->IsOpen()) { 96 DCHECK(download_file_->IsOpen()); 106 int bytes_written = download_file_->Write(download_file_buffer_->data(), 136 } else if (!download_file_->IsOpen()) { 144 if (download_file_->IsOpen()) { 145 download_file_.reset();
|
plugin_download_helper.h | 58 scoped_ptr<net::FileStream> download_file_; member in class:PluginDownloadUrlHelper
|
/external/chromium_org/content/browser/download/ |
download_file_unittest.cc | 121 DCHECK(!download_file_.get()); 132 download_file_.reset( 142 download_file_->SetClientGuid( 152 download_file_->Initialize(base::Bind( 163 EXPECT_FALSE(download_file_->InProgress()); 167 EXPECT_TRUE(base::ReadFileToString(download_file_->FullPath(), &disk_data)); 172 download_file_.reset(); 198 EXPECT_TRUE(base::GetFileSize(download_file_->FullPath(), &size)); 253 download_file_->RenameAndUniquify( 272 download_file_->RenameAndAnnotate 288 scoped_ptr<DownloadFile> download_file_; member in class:content::DownloadFileTest [all...] |
download_item_impl.cc | 262 DCHECK(!download_file_.get()); 316 if (download_file_) { 320 base::Bind(&DownloadFileDetach, base::Passed(&download_file_)), 395 // |download_file_| can be NULL if Interrupt() is called after the 397 if (!is_save_package_download_ && download_file_) 816 download_file_.get() ? "true" : "false", [all...] |
download_item_impl.h | 539 scoped_ptr<DownloadFile> download_file_; member in class:content::DownloadItemImpl
|