const base::FilePath& file_path,
base::File::Info* file_info,
base::File::Error* error) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
base::hash_map<base::FilePath::StringType,
base::File::Info>::const_iterator i =
file_info_.find(file_path.value());
const base::FilePath& root,
const ReadDirectorySuccessCallback& success_callback,
const ErrorCallback& error_callback) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
read_dir_transactions_.push_back(ReadDirectoryRequest(
root, success_callback, error_callback));
const base::FilePath& local_path,
const CreateSnapshotFileSuccessCallback& success_callback,
const ErrorCallback& error_callback) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
base::File::Error error;
base::File::Info info;
}
void MTPDeviceDelegateImplMac::CancelAndDelete() {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
// Artificially pretend that we have already gotten all items we're going
// to get.
NoMoreItems();