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

Unified Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h

Issue 446743003: Hook up new API for easy unlock to update lock screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: v Created 6 years, 4 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/easy_unlock_private/easy_unlock_private_api.h
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
index de47c5eac6afaa21f20aebb465e9df240b6559c0..cb80dad1d4087d09c56424511181d45112c8fc42 100644
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
@@ -155,6 +155,21 @@ class EasyUnlockPrivateSeekBluetoothDeviceByAddressFunction
EasyUnlockPrivateSeekBluetoothDeviceByAddressFunction);
};
+class EasyUnlockPrivateUpdateScreenlockStateFunction
+ : public SyncExtensionFunction {
+ public:
+ EasyUnlockPrivateUpdateScreenlockStateFunction();
+
+ protected:
+ virtual ~EasyUnlockPrivateUpdateScreenlockStateFunction();
+
+ virtual bool RunSync() OVERRIDE;
+
+ private:
+ DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.updateScreenlockState",
+ EASYUNLOCKPRIVATE_UPDATESCREENLOCKSTATE)
+};
xiyuan 2014/08/12 18:09:47 nit: DISALLOW_COPY_AND_ASSIGN( EasyUnlockPriva
tbarzic 2014/08/12 19:14:36 Done.
+
} // namespace api
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698