Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
37 SignedSettings::ReturnCode code,
39 if (code == SignedSettings::SUCCESS) {
43 settings_->Fail(code);
108 void Fail(SignedSettings::ReturnCode code);
120 void PerformCallback(SignedSettings::ReturnCode code, bool value);
134 void Fail(SignedSettings::ReturnCode code);
140 void OnSettingsOpCompleted(ReturnCode code, bool value);
150 void PerformCallback(SignedSettings::ReturnCode code, bool value);
167 void Fail(SignedSettings::ReturnCode code);
173 void OnSettingsOpCompleted(ReturnCode code, bool value);
183 void PerformCallback(SignedSettings::ReturnCode code, bool value);
198 void Fail(SignedSettings::ReturnCode code);
212 void PerformCallback(SignedSettings::ReturnCode code,
226 void Fail(SignedSettings::ReturnCode code);
238 void PerformCallback(SignedSettings::ReturnCode code, bool value);
252 void Fail(SignedSettings::ReturnCode code);
266 void PerformCallback(SignedSettings::ReturnCode code,
364 void CheckWhitelistOp::Fail(SignedSettings::ReturnCode code) {
367 NewRunnableMethod(this, &CheckWhitelistOp::PerformCallback, code, false));
416 void CheckWhitelistOp::PerformCallback(SignedSettings::ReturnCode code,
418 d_->OnSettingsOpCompleted(code, value);
447 void WhitelistOp::Fail(SignedSettings::ReturnCode code) {
450 NewRunnableMethod(this, &WhitelistOp::PerformCallback, code, false));
483 void WhitelistOp::OnSettingsOpCompleted(ReturnCode code, bool value) {
522 void WhitelistOp::PerformCallback(SignedSettings::ReturnCode code, bool value) {
523 d_->OnSettingsOpCompleted(code, value);
559 void StorePropertyOp::Fail(SignedSettings::ReturnCode code) {
562 NewRunnableMethod(this, &StorePropertyOp::PerformCallback, code, false));
596 void StorePropertyOp::OnSettingsOpCompleted(ReturnCode code, bool value) {
639 void StorePropertyOp::PerformCallback(SignedSettings::ReturnCode code,
641 d_->OnSettingsOpCompleted(code, value);
683 void RetrievePropertyOp::Fail(SignedSettings::ReturnCode code) {
688 code, std::string()));
759 void RetrievePropertyOp::PerformCallback(SignedSettings::ReturnCode code,
761 d_->OnSettingsOpCompleted(code, value);
791 void StorePolicyOp::Fail(SignedSettings::ReturnCode code) {
794 NewRunnableMethod(this, &StorePolicyOp::PerformCallback, code, false));
798 SignedSettings::ReturnCode code = SUCCESS;
804 code = NOT_FOUND;
809 NewRunnableMethod(this, &StorePolicyOp::PerformCallback, code, to_ret));
846 void StorePolicyOp::PerformCallback(SignedSettings::ReturnCode code,
848 d_->OnSettingsOpCompleted(code, value);
863 void RetrievePolicyOp::Fail(SignedSettings::ReturnCode code) {
864 VLOG(2) << "RetrievePolicyOp::Execute() failed with " << code;
867 NewRunnableMethod(this, &RetrievePolicyOp::PerformCallback, code,
931 void RetrievePolicyOp::PerformCallback(SignedSettings::ReturnCode code,
933 d_->OnSettingsOpCompleted(code, value);