Lines Matching defs:value
133 // we loaded from the persisted state is a valid value. If the response
144 // Update the current download source which depends on the latest value of
149 void PayloadState::SetUsingP2PForDownloading(bool value) {
150 using_p2p_for_downloading_ = value;
510 // since we don't expect value of kMaxBackoffDays to be more than 100 anyway.
511 int num_days = 1; // the value to be shifted.
667 // value |kAbnormalTermination|). In the future we might want to
999 LOG(ERROR) << "Invalid UpdateTimestampStart value. Resetting.";
1011 LOG(ERROR) << "The UpdateTimestampStart value ("
1022 void PayloadState::SetUpdateTimestampStart(const Time& value) {
1023 update_timestamp_start_ = value;
1024 metrics_utils::SetUpdateTimestampStart(value, prefs_);
1027 void PayloadState::SetUpdateTimestampEnd(const Time& value) {
1028 update_timestamp_end_ = value;
1047 LOG(ERROR) << "Invalid UpdateDurationUptime value. Resetting.";
1058 LOG(ERROR) << "The UpdateDurationUptime value ("
1089 void PayloadState::SetUpdateDurationUptimeExtended(const TimeDelta& value,
1093 update_duration_uptime_ = value;
1103 void PayloadState::SetUpdateDurationUptime(const TimeDelta& value) {
1105 SetUpdateDurationUptimeExtended(value, now, true);
1134 // Update the in-memory value.
1158 // Update the in-memory value.
1245 // failed, we will read this value from the same version, so it will always
1308 void PayloadState::SetP2PNumAttempts(int value) {
1309 p2p_num_attempts_ = value;
1312 prefs_->SetInt64(kPrefsP2PNumAttempts, value);