Commit 9e03b4de authored by Steven Bennetts's avatar Steven Bennetts Committed by Commit Bot

Elim unused Cellular.SIMLocked UMA stat

Bug: 643565
Change-Id: I3ad3aede53c90ba83f630626a6539daa104ef3a9
Reviewed-on: https://chromium-review.googlesource.com/747042Reviewed-by: default avatarBen Chan <benchan@chromium.org>
Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512896}
parent 7fed5aeb
...@@ -123,16 +123,6 @@ bool DeviceState::PropertyChanged(const std::string& key, ...@@ -123,16 +123,6 @@ bool DeviceState::PropertyChanged(const std::string& key,
return false; return false;
} }
bool DeviceState::InitialPropertiesReceived(
const base::DictionaryValue& properties) {
// Update UMA stats.
if (sim_present_) {
bool locked = !sim_lock_type_.empty();
UMA_HISTOGRAM_BOOLEAN("Cellular.SIMLocked", locked);
}
return false;
}
void DeviceState::IPConfigPropertiesChanged( void DeviceState::IPConfigPropertiesChanged(
const std::string& ip_config_path, const std::string& ip_config_path,
const base::DictionaryValue& properties) { const base::DictionaryValue& properties) {
......
...@@ -26,8 +26,6 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState { ...@@ -26,8 +26,6 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
// ManagedState overrides // ManagedState overrides
bool PropertyChanged(const std::string& key, bool PropertyChanged(const std::string& key,
const base::Value& value) override; const base::Value& value) override;
bool InitialPropertiesReceived(
const base::DictionaryValue& properties) override;
void IPConfigPropertiesChanged(const std::string& ip_config_path, void IPConfigPropertiesChanged(const std::string& ip_config_path,
const base::DictionaryValue& properties); const base::DictionaryValue& properties);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment