aboutsummaryrefslogtreecommitdiff
path: root/src/device_registration_info.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2015-12-06 17:41:07 -0800
committerVitaly Buka <vitalybuka@google.com>2015-12-08 01:01:54 +0000
commit1a108717d3d6ac17974b835dc18f6c177fb609ff (patch)
tree20a57ba7727c174cf29c6ed7675123091777cfa9 /src/device_registration_info.h
parenta580328ad41e1377431367d935a1e6ea71b1a892 (diff)
downloadlibweave-1a108717d3d6ac17974b835dc18f6c177fb609ff.tar.gz
Remove output error parameter from BuildDeviceResource
This method never fails. Change-Id: If7c385f967e943172fa97e98c2c1c4e18a5cdc8f Reviewed-on: https://weave-review.googlesource.com/1798 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
Diffstat (limited to 'src/device_registration_info.h')
-rw-r--r--src/device_registration_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_registration_info.h b/src/device_registration_info.h
index f3b5302..ff9c29b 100644
--- a/src/device_registration_info.h
+++ b/src/device_registration_info.h
@@ -247,7 +247,7 @@ class DeviceRegistrationInfo : public NotificationDelegate,
// Builds Cloud API devices collection REST resource which matches
// current state of the device including command definitions
// for all supported commands and current device state.
- std::unique_ptr<base::DictionaryValue> BuildDeviceResource(ErrorPtr* error);
+ std::unique_ptr<base::DictionaryValue> BuildDeviceResource() const;
void SetGcdState(GcdState new_state);
void SetDeviceId(const std::string& cloud_id);