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

Unified Diff: chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h

Issue 562393002: Remove unused chrome.screenlockPrivate methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
diff --git a/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h b/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
index 1abbf64787ca2fe69e2d82e829a91501462a114f..8f4ed27ef1531eea8edd7c5e444543bce21c8453 100644
--- a/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
+++ b/chrome/browser/extensions/api/screenlock_private/screenlock_private_api.h
@@ -11,10 +11,6 @@
#include "chrome/browser/signin/screenlock_bridge.h"
#include "extensions/browser/browser_context_keyed_api_factory.h"
-namespace gfx {
-class Image;
-}
-
namespace extensions {
class ScreenlockPrivateGetLockedFunction : public ChromeAsyncExtensionFunction {
@@ -41,73 +37,6 @@ class ScreenlockPrivateSetLockedFunction : public ChromeAsyncExtensionFunction {
DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateSetLockedFunction);
};
-class ScreenlockPrivateShowMessageFunction
- : public ChromeAsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("screenlockPrivate.showMessage",
- SCREENLOCKPRIVATE_SHOWMESSAGE)
- ScreenlockPrivateShowMessageFunction();
- virtual bool RunAsync() OVERRIDE;
-
- private:
- virtual ~ScreenlockPrivateShowMessageFunction();
- DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateShowMessageFunction);
-};
-
-class ScreenlockPrivateShowCustomIconFunction
- : public ChromeAsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("screenlockPrivate.showCustomIcon",
- SCREENLOCKPRIVATE_SHOWCUSTOMICON)
- ScreenlockPrivateShowCustomIconFunction();
- virtual bool RunAsync() OVERRIDE;
-
- private:
- virtual ~ScreenlockPrivateShowCustomIconFunction();
- void OnImageLoaded(const gfx::Image& image);
- DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateShowCustomIconFunction);
-};
-
-class ScreenlockPrivateHideCustomIconFunction
- : public ChromeAsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("screenlockPrivate.hideCustomIcon",
- SCREENLOCKPRIVATE_HIDECUSTOMICON)
- ScreenlockPrivateHideCustomIconFunction();
- virtual bool RunAsync() OVERRIDE;
-
- private:
- virtual ~ScreenlockPrivateHideCustomIconFunction();
- void OnImageLoaded(const gfx::Image& image);
- DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateHideCustomIconFunction);
-};
-
-class ScreenlockPrivateSetAuthTypeFunction
- : public ChromeAsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("screenlockPrivate.setAuthType",
- SCREENLOCKPRIVATE_SETAUTHTYPE)
- ScreenlockPrivateSetAuthTypeFunction();
- virtual bool RunAsync() OVERRIDE;
-
- private:
- virtual ~ScreenlockPrivateSetAuthTypeFunction();
- DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateSetAuthTypeFunction);
-};
-
-class ScreenlockPrivateGetAuthTypeFunction
- : public ChromeAsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("screenlockPrivate.getAuthType",
- SCREENLOCKPRIVATE_GETAUTHTYPE)
- ScreenlockPrivateGetAuthTypeFunction();
- virtual bool RunAsync() OVERRIDE;
-
- private:
- virtual ~ScreenlockPrivateGetAuthTypeFunction();
- DISALLOW_COPY_AND_ASSIGN(ScreenlockPrivateGetAuthTypeFunction);
-};
-
class ScreenlockPrivateAcceptAuthAttemptFunction
: public ChromeAsyncExtensionFunction {
public:
« no previous file with comments | « no previous file | chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698