Searched refs:download_file_ (Results 1 – 3 of 3) sorted by relevance
103 scoped_ptr<DownloadFile> download_file_; member in DownloadFileTest130 CreateDownloadFile(&download_file_, 0); in TEST_F()131 ASSERT_TRUE(download_file_->Initialize(true)); in TEST_F()132 FilePath initial_path(download_file_->full_path()); in TEST_F()140 EXPECT_TRUE(download_file_->Rename(path_1)); in TEST_F()141 FilePath renamed_path = download_file_->full_path(); in TEST_F()149 AppendDataToFile(&download_file_, kTestData1); in TEST_F()150 AppendDataToFile(&download_file_, kTestData2); in TEST_F()153 EXPECT_TRUE(download_file_->Rename(path_2)); in TEST_F()154 renamed_path = download_file_->full_path(); in TEST_F()[all …]
26 download_file_.reset(new net::FileStream()); in PluginDownloadUrlHelper()61 if (!download_file_->IsOpen()) { in OnResponseStarted()65 download_file_->Open(download_file_path_, in OnResponseStarted()68 if (!download_file_->IsOpen()) { in OnResponseStarted()96 DCHECK(download_file_->IsOpen()); in OnReadCompleted()106 int bytes_written = download_file_->Write(download_file_buffer_->data(), in OnReadCompleted()136 } else if (!download_file_->IsOpen()) { in OnDownloadCompleted()144 if (download_file_->IsOpen()) { in DownloadCompletedHelper()145 download_file_.reset(); in DownloadCompletedHelper()
58 scoped_ptr<net::FileStream> download_file_; variable