Home | History | Annotate | Download | only in download

Lines Matching refs:FILE

3 // found in the LICENSE file.
77 // Maximum number of file ordinal number. I think it's big enough for resolving
78 // name-conflict files which has same base file name.
81 // Maximum length for file path. Since Windows have MAX_PATH limitation for
82 // file path, we need to make sure length of file path of every saved file
90 // Maximum length for file ordinal number part. Since we only support the
91 // maximum 9999 for ordinal number, which means maximum file ordinal number part
95 // If false, we don't prompt the user as to where to save the file. This
126 // file names, i.e. those stripped of their extensions.
368 // File name is considered being consist of pure file name, dot and file
369 // extension name. File name might has no dot and file extension, or has
370 // multiple dot inside file name. The dot, which separates the pure file
371 // name and file extension name, is last dot in the whole file name.
372 // This function is for making sure the length of specified file path is not
373 // great than the specified maximum length of file path and getting safe pure
374 // file name part if the input pure file name is too long.
376 // file path. The parameter |file_name_ext| specifies file extension
377 // name part of the specified file path (including start dot). The parameter
378 // |max_file_path_len| specifies maximum length of the specified file path.
379 // The parameter |pure_file_name| input pure file name part of the specified
380 // file path. If the length of specified file path is great than
381 // |max_file_path_len|, the |pure_file_name| will output new pure file name
382 // part for making sure the length of specified file path is less than
383 // specified maximum length of file path. Return false if the function can
384 // not get a safe pure file name, otherwise it returns true.
445 // Need to make sure the suggested file name is not too long.
448 // Get safe pure file name.
459 // Found same name, increase the ordinal number for the file name.
462 // We need to make sure the length of base file name plus maximum ordinal
481 // Use a random file from temporary file.
485 // Get safe pure file name.
535 // For HTML resource file, make sure it will have .htm as extension name,
537 // file manager will treat it as downloadable resource, and download it
545 // We can not generate file name for this SaveItem, so we cancel the
568 // It is the main HTML file, use the name chosen by the user.
572 // If the save source is from file system, inform SaveFileManager to copy
573 // corresponding file to the file path which this SaveItem specifies.
576 BrowserThread::FILE, FROM_HERE,
648 // Stop all page saving jobs that are in progress and instruct the file thread
683 BrowserThread::FILE, FROM_HERE,
713 BrowserThread::FILE, FROM_HERE,
740 BrowserThread::FILE, FROM_HERE,
838 BrowserThread::FILE, FROM_HERE,
875 // Open download page in windows explorer on file thread, to avoid blocking the
886 BrowserThread::FILE, FROM_HERE,
909 // sub-resource's link can be replaced with local file path, which
969 // If yes, the file can be saved. Otherwise, there is a disk error, so we
981 // If not all file of HTML resource have been started, then wait.
1022 BrowserThread::FILE, FROM_HERE,
1044 // Call write file functionality in file thread.
1046 BrowserThread::FILE, FROM_HERE,
1054 // Current frame is completed saving, call finish in file thread.
1060 BrowserThread::FILE, FROM_HERE,
1137 // component or if there is none, the domain as the file name.
1177 // If the file name doesn't have an extension suitable for HTML files,
1236 // Check whether the preference has the preferred directory for saving file. If
1258 // Can't use tab_contents_ in the file thread, so get the data that we need
1267 BrowserThread::FILE, FROM_HERE,
1295 // Need to make sure the suggested file name is not too long.
1317 // the UI->FILE->UI thread hop of
1331 // file filters.
1402 // Called after the save file dialog box returns.
1436 // Make new directory for saving complete file.