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

Unified Diff: components/proximity_auth/screenlock_bridge.h

Issue 2903353003: Adding mojo calls for easy unlock service (Closed)
Patch Set: Incoporate pathset 3 comments Created 3 years, 7 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: components/proximity_auth/screenlock_bridge.h
diff --git a/components/proximity_auth/screenlock_bridge.h b/components/proximity_auth/screenlock_bridge.h
index 45546094fc14b4aaa1d7adeb770c0ccc6f9e724f..b893591e67e60931bddd47dcf83f03e218d21b7a 100644
--- a/components/proximity_auth/screenlock_bridge.h
+++ b/components/proximity_auth/screenlock_bridge.h
@@ -8,6 +8,7 @@
#include <memory>
#include <string>
+#include "ash/public/interfaces/lock_screen.mojom.h"
#include "base/lazy_instance.h"
#include "base/macros.h"
#include "base/observer_list.h"
@@ -51,6 +52,11 @@ class ScreenlockBridge {
// screenlock web UI.
std::unique_ptr<base::DictionaryValue> ToDictionaryValue() const;
+ // Converts parameters to a mojo struct that can be sent to the
+ // screenlock view-based UI.
+ ash::mojom::UserPodCustomIconOptionsPtr ToUserPodCustomIconOptionsPtr()
+ const;
+
// Sets the icon that should be shown in the UI.
void SetIcon(UserPodCustomIcon icon);

Powered by Google App Engine
This is Rietveld 408576698