Home | History | Annotate | Download | only in win

Lines Matching full:m_destination

195     // Failing that, we clear m_destination and will ask the delegate later once the download starts
197 m_destination = m_bundlePath.threadsafeCopy();
198 m_destination.truncate(m_destination.length() - DownloadBundle::fileExtension().length());
200 m_destination = String();
243 if (m_destination.isEmpty()) {
289 m_destination = String(path, SysStringLen(path));
290 m_bundlePath = m_destination + DownloadBundle::fileExtension();
457 ASSERT(!m_destination.isEmpty());
459 BString path(m_destination);
470 ASSERT(!m_bundlePath.isEmpty() && !m_destination.isEmpty());
471 LOG(Download, "WebDownload - Moving file from bundle %s to destination %s", m_bundlePath.ascii().data(), m_destination.ascii().data());
475 if (!MoveFileEx(m_bundlePath.charactersWithNullTermination(), m_destination.charactersWithNullTermination(), 0)) {
476 LOG_ERROR("Failed to move bundle %s to %s on completion\nError - %i", m_bundlePath.ascii().data(), m_destination.ascii().data(), GetLastError());
480 BString destinationBSTR(m_destination.characters(), m_destination.length());
486 if (!m_destination.isEmpty())
487 if (MoveFileEx(m_bundlePath.charactersWithNullTermination(), m_destination.charactersWithNullTermination(), 0))
495 BString finalDestinationBSTR = BString(m_destination);