Lines Matching refs:Error
74 void VPNService::Connect(Error* error, const char* reason) {
76 Error::PopulateAndLog(FROM_HERE, error, Error::kAlreadyConnected,
82 Error::PopulateAndLog(FROM_HERE, error, Error::kInProgress,
88 Service::Connect(error, reason);
89 driver_->Connect(this, error);
92 void VPNService::Disconnect(Error* error, const char* reason) {
94 Service::Disconnect(error, reason);
104 Error* error) {
107 Error::PopulateAndLog(
108 FROM_HERE, error, Error::kInvalidProperty, "Missing VPN host.");
113 Error::PopulateAndLog(
114 FROM_HERE, error, Error::kNotSupported, "Missing VPN name.");
122 string VPNService::GetDeviceRpcId(Error* error) const {
123 error->Populate(Error::kNotSupported);
200 string VPNService::GetTethering(Error* error) const {
212 // not strictly an error, so we don't print an error message. Populating
213 // an error here just serves to propagate the lack of a property in
215 error->Populate(Error::kNotSupported);
217 error->Populate(Error::kOperationFailed);
222 bool VPNService::SetNameProperty(const string& name, Error* error) {
231 string new_storage_id = CreateStorageIdentifier(*args, error);
248 string VPNService::GetPhysicalTechnologyProperty(Error* error) {
254 error->Populate(Error::kOperationFailed);