| Index: chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc
|
| diff --git a/chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc b/chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc
|
| index d7fe5ecc5be3453efb22132365bbfdf8d18f382b..ceaf76bc30911c395fe0dcc3e05c849ff3af505f 100644
|
| --- a/chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc
|
| +++ b/chrome/browser/extensions/api/image_writer_private/operation_chromeos.cc
|
| @@ -32,7 +32,7 @@ void ClearImageBurner() {
|
| } // namespace
|
|
|
| void Operation::Write(const base::Closure& continuation) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
| SetStage(image_writer_api::STAGE_WRITE);
|
|
|
| BrowserThread::PostTask(
|
| @@ -44,14 +44,14 @@ void Operation::Write(const base::Closure& continuation) {
|
| }
|
|
|
| void Operation::VerifyWrite(const base::Closure& continuation) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
|
|
| // No verification is available in Chrome OS currently.
|
| continuation.Run();
|
| }
|
|
|
| void Operation::StartWriteOnUIThread(const base::Closure& continuation) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| ImageBurnerClient* burner =
|
| chromeos::DBusThreadManager::Get()->GetImageBurnerClient();
|
|
|