aboutsummaryrefslogtreecommitdiff
path: root/src/privet/privet_handler.cc
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2015-12-12 15:51:51 -0800
committerAlex Vakulenko <avakulenko@google.com>2015-12-14 17:11:22 +0000
commitb03d4ddd8eb3475684cf327bb5a3812e3f45dc79 (patch)
tree23a46ccca82d7734de1b980b195e8ae3c7fd4347 /src/privet/privet_handler.cc
parent1884cf644b9a48119438a17864509176dd47c646 (diff)
downloadlibweave-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.cc2
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);