From b03d4ddd8eb3475684cf327bb5a3812e3f45dc79 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Sat, 12 Dec 2015 15:51:51 -0800 Subject: Remove /privet/info:uptime as unused BUG=26170260 Change-Id: I8cc5d159b1d94751610c98cfa8e1067b97431b73 Reviewed-on: https://weave-review.googlesource.com/1926 Reviewed-by: Alex Vakulenko --- src/privet/privet_handler.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/privet/privet_handler.cc') 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); -- cgit v1.2.3