Lines Matching refs:FILE
3 // found in the LICENSE file.
32 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
118 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
135 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
144 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
146 // Initialize the BDICT path. This initialization should be in the FILE thread
165 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
175 // File didn't exist. Download it.
203 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::FILE));
205 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
224 // Determine URL of file to download.
242 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
246 FILE* f = file_util::OpenFile(custom_dictionary_file_, "a+");
263 // Initialize will not try to download the file a second time.
280 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
285 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
288 // the dictionary data and verify it is sane before save it to a file.