shill: Broadcast changes of CellularService's ActivationState property.
BUG=chromium-os:25011
TEST=tested on device
Change-Id: Iaf5e38dc7402312ac056c9a39718085c3f236ed4
Reviewed-on: https://gerrit.chromium.org/gerrit/14056
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
diff --git a/cellular_service.h b/cellular_service.h
index 13790b0..db14100 100644
--- a/cellular_service.h
+++ b/cellular_service.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -39,10 +39,8 @@
// cellular_<MAC>_<Service_Operator_Name>
std::string GetStorageIdentifier() const;
+ void SetActivationState(const std::string &state);
const std::string &activation_state() const { return activation_state_; }
- void set_activation_state(const std::string &state) {
- activation_state_ = state;
- }
uint8 strength() const { return strength_; }
void set_strength(uint8 strength) { strength_ = strength; }