Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: trunk/src/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc

Issue 175423004: Revert 252466 "In order to support writing on windows we need to..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/src/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc
===================================================================
--- trunk/src/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc (revision 252593)
+++ trunk/src/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.cc (working copy)
@@ -5,7 +5,6 @@
#include "base/file_util.h"
#include "chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation.h"
#include "chrome/browser/extensions/api/image_writer_private/error_messages.h"
-#include "content/public/browser/browser_thread.h"
namespace extensions {
namespace image_writer {
@@ -38,12 +37,7 @@
return;
}
- content::BrowserThread::PostTask(
- content::BrowserThread::FILE,
- FROM_HERE,
- base::Bind(&DestroyPartitionsOperation::Write,
- this,
- base::Bind(&DestroyPartitionsOperation::Finish, this)));
+ Write(base::Bind(&DestroyPartitionsOperation::Finish, this));
}
} // namespace image_writer
« no previous file with comments | « no previous file | trunk/src/chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698