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

Unified Diff: chrome/browser/extensions/api/image_writer_private/image_writer_private_api.h

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 8 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/image_writer_private_api.h
diff --git a/chrome/browser/extensions/api/image_writer_private/image_writer_private_api.h b/chrome/browser/extensions/api/image_writer_private/image_writer_private_api.h
index 9cccd0fc63de8c97bb078d5504add5900cee2c08..56ee4463175c6a7a6bd2876a3307ab6c59818bd3 100644
--- a/chrome/browser/extensions/api/image_writer_private/image_writer_private_api.h
+++ b/chrome/browser/extensions/api/image_writer_private/image_writer_private_api.h
@@ -19,7 +19,7 @@ class ImageWriterPrivateWriteFromUrlFunction
private:
virtual ~ImageWriterPrivateWriteFromUrlFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
void OnWriteStarted(bool success, const std::string& error);
};
@@ -32,7 +32,7 @@ class ImageWriterPrivateWriteFromFileFunction
private:
virtual ~ImageWriterPrivateWriteFromFileFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
void OnWriteStarted(bool success, const std::string& error);
};
@@ -45,7 +45,7 @@ class ImageWriterPrivateCancelWriteFunction
private:
virtual ~ImageWriterPrivateCancelWriteFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
void OnWriteCancelled(bool success, const std::string& error);
};
@@ -58,7 +58,7 @@ class ImageWriterPrivateDestroyPartitionsFunction
private:
virtual ~ImageWriterPrivateDestroyPartitionsFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
void OnDestroyComplete(bool success, const std::string& error);
};
@@ -71,7 +71,7 @@ class ImageWriterPrivateListRemovableStorageDevicesFunction
private:
virtual ~ImageWriterPrivateListRemovableStorageDevicesFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
void OnDeviceListReady(scoped_refptr<StorageDeviceList> device_list,
bool success);
};

Powered by Google App Engine
This is Rietveld 408576698