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

Unified Diff: chrome/browser/extensions/api/capture_web_contents_function.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/capture_web_contents_function.h
diff --git a/chrome/browser/extensions/api/capture_web_contents_function.h b/chrome/browser/extensions/api/capture_web_contents_function.h
index 1e3a85f2fa208720d1c90cd96627e5f687179351..0a1c7412e4f3956593e5fac3b2f85415c432e77a 100644
--- a/chrome/browser/extensions/api/capture_web_contents_function.h
+++ b/chrome/browser/extensions/api/capture_web_contents_function.h
@@ -27,7 +27,7 @@ class CaptureWebContentsFunction : public ChromeAsyncExtensionFunction {
// ExtensionFunction implementation.
virtual bool HasPermission() OVERRIDE;
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
virtual bool IsScreenshotEnabled() = 0;
virtual content::WebContents* GetWebContentsForID(int context_id) = 0;
@@ -51,10 +51,10 @@ class CaptureWebContentsFunction : public ChromeAsyncExtensionFunction {
// the guest.
int context_id_;
- // The format (JPEG vs PNG) of the resulting image. Set in RunImpl().
+ // The format (JPEG vs PNG) of the resulting image. Set in RunAsync().
ImageDetails::Format image_format_;
- // Quality setting to use when encoding jpegs. Set in RunImpl().
+ // Quality setting to use when encoding jpegs. Set in RunAsync().
int image_quality_;
DISALLOW_COPY_AND_ASSIGN(CaptureWebContentsFunction);

Powered by Google App Engine
This is Rietveld 408576698