Home | History | Annotate | Download | only in download

Lines Matching refs:FILE

3 // found in the LICENSE file.
36 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
41 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
45 Cancel(); // Will delete the file.
49 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
64 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
76 // TODO(phajdan.jr): handle errors on file writes. http://crbug.com/58355
88 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
91 // it will be overwritten by closing the file.
97 // Don't close the file if we're not done (finished or canceled).
110 // on the destination file. We want to recreate the security descriptor
116 // Similarly, on Unix, we're moving a temp file created with permissions
117 // 600 to |new_path|. Here, we try to fix up the destination file with
120 // First check the file existence and create an empty file if it doesn't
138 // We don't need to re-open the file if we're done (finished or canceled).
153 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
163 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
181 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
185 // Sets the Zone to tell Windows that this file comes from the internet.
197 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
201 // Create a new file stream if it is not provided.
211 // We may be re-opening the file after rename. Always make sure we're
212 // writing at the end of the file.
226 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));