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

Unified Diff: chrome/browser/extensions/api/image_writer_private/operation_mac.cc

Issue 149313003: Significantly cleans up the ImageWriter Operation class and subclasses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback: Creates StartImpl function, updates platformfile lifetime to use passed ScopedPlat… 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
Index: chrome/browser/extensions/api/image_writer_private/operation_mac.cc
diff --git a/chrome/browser/extensions/api/image_writer_private/operation_mac.cc b/chrome/browser/extensions/api/image_writer_private/operation_mac.cc
index 5aeb7f52c01488729b431ed047e8905934d7febe..2280f49974bc780700a37126b3ca0d5a79b37782 100644
--- a/chrome/browser/extensions/api/image_writer_private/operation_mac.cc
+++ b/chrome/browser/extensions/api/image_writer_private/operation_mac.cc
@@ -8,11 +8,11 @@
namespace extensions {
namespace image_writer {
-void Operation::WriteStart() {
+void Operation::Write(const base::Closure& continuation) {
Error(error::kUnsupportedOperation);
}
-void Operation::VerifyWriteStart() {
+void Operation::VerifyWrite(const base::Closure& continuation) {
Error(error::kUnsupportedOperation);
}

Powered by Google App Engine
This is Rietveld 408576698