| Index: chrome/browser/chromeos/drive/file_task_executor.cc
|
| diff --git a/chrome/browser/chromeos/drive/file_task_executor.cc b/chrome/browser/chromeos/drive/file_task_executor.cc
|
| index b91fc3a90b07cea46835f5a6e7ce8397683cc2cf..eb799a2ec184eab30365db07995eb1a737ded252 100644
|
| --- a/chrome/browser/chromeos/drive/file_task_executor.cc
|
| +++ b/chrome/browser/chromeos/drive/file_task_executor.cc
|
| @@ -136,7 +136,7 @@ void FileTaskExecutor::OnFileEntryFetched(FileError error,
|
| void FileTaskExecutor::OnAppAuthorized(const std::string& resource_id,
|
| google_apis::DriveApiErrorCode error,
|
| const GURL& open_link) {
|
| - DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
|
|
| if (error != google_apis::HTTP_SUCCESS || open_link.is_empty()) {
|
| Done(false);
|
| @@ -153,7 +153,7 @@ void FileTaskExecutor::OnAppAuthorized(const std::string& resource_id,
|
| }
|
|
|
| void FileTaskExecutor::Done(bool success) {
|
| - DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| if (!done_.is_null())
|
| done_.Run(success
|
| ? extensions::api::file_manager_private::TASK_RESULT_OPENED
|
|
|