aboutsummaryrefslogtreecommitdiff
path: root/src/device_registration_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_registration_info.h')
-rw-r--r--src/device_registration_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device_registration_info.h b/src/device_registration_info.h
index db08ef9..5ecdcac 100644
--- a/src/device_registration_info.h
+++ b/src/device_registration_info.h
@@ -161,6 +161,10 @@ class DeviceRegistrationInfo : public NotificationDelegate,
// restarted anytime the access_token is refreshed.
void StartNotificationChannel();
+ // Helpers to start and stop pull notification channel.
+ void StartPullChannel();
+ void StopPullChannel();
+
// Do a HTTPS request to cloud services.
// Handles many cases like reauthorization, 5xx HTTP response codes
// and device removal. It is a recommended way to do cloud API