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

Unified Diff: components/proximity_auth/messenger_impl.h

Issue 1372283002: Hook up ProximityAuthSystem in EasyUnlockService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth_connection
Patch Set: fix msan tests Created 5 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
Index: components/proximity_auth/messenger_impl.h
diff --git a/components/proximity_auth/messenger_impl.h b/components/proximity_auth/messenger_impl.h
index a64c2aafb70c91e3babdc1aabcc41c7d6e95db09..b9459b66cb8df2d6d6c29ff6be547f39fae1b37d 100644
--- a/components/proximity_auth/messenger_impl.h
+++ b/components/proximity_auth/messenger_impl.h
@@ -85,6 +85,10 @@ class MessengerImpl : public Messenger, public ConnectionObserver {
// response.
void HandleUnlockResponseMessage(const base::DictionaryValue& message);
+ // For iOS, we need to poll the phone every few seconds to keep the app alive
+ // in the background. This function starts the poll loop.
+ void PollScreenStateForIOS();
+
// ConnectionObserver:
void OnConnectionStatusChanged(Connection* connection,
Connection::Status old_status,

Powered by Google App Engine
This is Rietveld 408576698