shill: cellular: Determine if service activation is required.
BUG=chrome-os-partner:10631
TEST=Build and run unit tests.
Change-Id: I2d23994b07aca2fc685318273f6dcc8a76a344f9
Reviewed-on: https://gerrit.chromium.org/gerrit/37358
Commit-Ready: Ben Chan <benchan@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
diff --git a/cellular_operator_info.h b/cellular_operator_info.h
index da6b2ad..f09f319 100644
--- a/cellular_operator_info.h
+++ b/cellular_operator_info.h
@@ -20,14 +20,15 @@
class CellularOperatorInfo {
public:
explicit CellularOperatorInfo(GLib *glib);
- ~CellularOperatorInfo();
+ virtual ~CellularOperatorInfo();
// Loads the operator info from |info_file_path|. Returns true on success.
- bool Load(const FilePath &info_file_path);
+ virtual bool Load(const FilePath &info_file_path);
// Gets the online payment portal info of the operator with ID |operator_id|.
// Returns true if the info is found.
- bool GetOLP(const std::string &operator_id, CellularService::OLP *olp);
+ virtual bool GetOLP(const std::string &operator_id,
+ CellularService::OLP *olp);
private:
KeyFileStore info_file_;