[shill] move wifi properties into WiFi from Device
Also, ensure that properties in leaf classes (WiFi, Cellular, etc) are
private, not protected.
BUG=chromium-os:16956
TEST=unit tests
Change-Id: I1b94e7dd5fb12a741a7a3a1220678c2d24d6c543
Reviewed-on: http://gerrit.chromium.org/gerrit/3188
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/cellular.h b/cellular.h
index 41b9bbf..3eba142 100644
--- a/cellular.h
+++ b/cellular.h
@@ -28,6 +28,9 @@
bool TechnologyIs(Device::Technology type);
private:
+ ServiceRefPtr service_;
+ bool service_registered_;
+
// Properties
bool allow_roaming_;
std::string carrier_;
@@ -42,12 +45,9 @@
std::string firmware_revision_;
std::string hardware_revision_;
int16 prl_version_;
-
bool scanning_;
uint16 scan_interval_;
- bool service_registered_;
- ServiceRefPtr service_;
DISALLOW_COPY_AND_ASSIGN(Cellular);
};