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

Unified Diff: chrome/browser/chromeos/extensions/screenlock_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/chromeos/extensions/screenlock_private_api.h
diff --git a/chrome/browser/chromeos/extensions/screenlock_private_api.h b/chrome/browser/chromeos/extensions/screenlock_private_api.h
index 7e597d2e3a1b47ed3ac534b54c1f3f4d8a536bd0..97dd94debd924c1c20a5997ef8fd87f19bbda317 100644
--- a/chrome/browser/chromeos/extensions/screenlock_private_api.h
+++ b/chrome/browser/chromeos/extensions/screenlock_private_api.h
@@ -21,7 +21,8 @@ class ScreenlockPrivateGetLockedFunction : public ChromeAsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.getLocked",
SCREENLOCKPRIVATE_GETLOCKED)
ScreenlockPrivateGetLockedFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
+
private:
virtual ~ScreenlockPrivateGetLockedFunction();
DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateGetLockedFunction);
@@ -32,7 +33,8 @@ class ScreenlockPrivateSetLockedFunction : public ChromeAsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.setLocked",
SCREENLOCKPRIVATE_SETLOCKED)
ScreenlockPrivateSetLockedFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
+
private:
virtual ~ScreenlockPrivateSetLockedFunction();
DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateSetLockedFunction);
@@ -44,7 +46,8 @@ class ScreenlockPrivateShowMessageFunction
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.showMessage",
SCREENLOCKPRIVATE_SHOWMESSAGE)
ScreenlockPrivateShowMessageFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
+
private:
virtual ~ScreenlockPrivateShowMessageFunction();
DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateShowMessageFunction );
@@ -56,7 +59,8 @@ class ScreenlockPrivateShowButtonFunction
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.showButton",
SCREENLOCKPRIVATE_SHOWBUTTON)
ScreenlockPrivateShowButtonFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
+
private:
virtual ~ScreenlockPrivateShowButtonFunction();
void OnImageLoaded(const gfx::Image& image);
@@ -69,7 +73,7 @@ class ScreenlockPrivateHideButtonFunction
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.hideButton",
SCREENLOCKPRIVATE_HIDEBUTTON)
ScreenlockPrivateHideButtonFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
virtual ~ScreenlockPrivateHideButtonFunction();
@@ -83,7 +87,7 @@ class ScreenlockPrivateSetAuthTypeFunction
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.setAuthType",
SCREENLOCKPRIVATE_SETAUTHTYPE)
ScreenlockPrivateSetAuthTypeFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
virtual ~ScreenlockPrivateSetAuthTypeFunction();
@@ -96,7 +100,7 @@ class ScreenlockPrivateGetAuthTypeFunction
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.getAuthType",
SCREENLOCKPRIVATE_GETAUTHTYPE)
ScreenlockPrivateGetAuthTypeFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
virtual ~ScreenlockPrivateGetAuthTypeFunction();
@@ -109,7 +113,7 @@ class ScreenlockPrivateAcceptAuthAttemptFunction
DECLARE_EXTENSION_FUNCTION("screenlockPrivate.acceptAuthAttempt",
SCREENLOCKPRIVATE_ACCEPTAUTHATTEMPT)
ScreenlockPrivateAcceptAuthAttemptFunction();
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
virtual ~ScreenlockPrivateAcceptAuthAttemptFunction();
« no previous file with comments | « chrome/browser/chromeos/extensions/info_private_api.cc ('k') | chrome/browser/chromeos/extensions/screenlock_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698