shill: Add methods for handling connectivity report requests
Add necessary methods to handle requests for a ConnectivityReport. This
is the overall plumbing to handle the request and is not activated at
this time.
BUG=chromium:402888
TEST=ran unit tests
Change-Id: I560ce64337a89cf3520331950d59a268785d0a4c
Reviewed-on: https://chromium-review.googlesource.com/217796
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Rebecca Silberstein <silberst@chromium.org>
diff --git a/manager.h b/manager.h
index b7f8a92..859fe36 100644
--- a/manager.h
+++ b/manager.h
@@ -163,6 +163,9 @@
void ConnectToBestServices(Error *error);
+ // Method to create connectivity report for connected services.
+ void CreateConnectivityReport(Error *error);
+
// Request portal detection checks on each registered device until a portal
// detection attempt starts on one of them.
void RecheckPortal(Error *error);
@@ -435,6 +438,7 @@
FRIEND_TEST(ManagerTest, ConnectedTechnologies);
FRIEND_TEST(ManagerTest, ConnectionStatusCheck);
FRIEND_TEST(ManagerTest, ConnectToBestServices);
+ FRIEND_TEST(ManagerTest, CreateConnectivityReport);
FRIEND_TEST(ManagerTest, DefaultTechnology);
FRIEND_TEST(ManagerTest, DeviceRegistrationAndStart);
FRIEND_TEST(ManagerTest, DisableTechnology);