diff options
author | Vitaly Buka <vitalybuka@google.com> | 2015-12-12 15:51:51 -0800 |
---|---|---|
committer | Alex Vakulenko <avakulenko@google.com> | 2015-12-14 17:11:22 +0000 |
commit | b03d4ddd8eb3475684cf327bb5a3812e3f45dc79 (patch) | |
tree | 23a46ccca82d7734de1b980b195e8ae3c7fd4347 /src/privet/privet_handler.cc | |
parent | 1884cf644b9a48119438a17864509176dd47c646 (diff) | |
download | libweave-b03d4ddd8eb3475684cf327bb5a3812e3f45dc79.tar.gz |
Remove /privet/info:uptime as unused
BUG=26170260
Change-Id: I8cc5d159b1d94751610c98cfa8e1067b97431b73
Reviewed-on: https://weave-review.googlesource.com/1926
Reviewed-by: Alex Vakulenko <avakulenko@google.com>
Diffstat (limited to 'src/privet/privet_handler.cc')
-rw-r--r-- | src/privet/privet_handler.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/privet/privet_handler.cc b/src/privet/privet_handler.cc index df0c74d..ab4eece 100644 --- a/src/privet/privet_handler.cc +++ b/src/privet/privet_handler.cc @@ -69,7 +69,6 @@ const char kInfoWifiCapabilitiesKey[] = "capabilities"; const char kInfoWifiSsidKey[] = "ssid"; const char kInfoWifiHostedSsidKey[] = "hostedSsid"; -const char kInfoUptimeKey[] = "uptime"; const char kInfoTimeKey[] = "time"; const char kPairingKey[] = "pairing"; @@ -547,7 +546,6 @@ void PrivetHandler::HandleInfo(const base::DictionaryValue&, output.Set(kGcdKey, CreateGcdSection(*cloud_).release()); - output.SetInteger(kInfoUptimeKey, device_->GetUptime().InSeconds()); output.SetDouble(kInfoTimeKey, clock_->Now().ToJsTime()); callback.Run(http::kOk, output); |