Lines Matching refs:override
45 ~PayloadState() override {} in ~PayloadState()
54 void SetResponse(const OmahaResponse& response) override;
55 void DownloadComplete() override;
56 void DownloadProgress(size_t count) override;
57 void UpdateResumed() override;
58 void UpdateRestarted() override;
59 void UpdateSucceeded() override;
60 void UpdateFailed(ErrorCode error) override;
61 void ResetUpdateStatus() override;
62 bool ShouldBackoffDownload() override;
63 void Rollback() override;
64 void ExpectRebootInNewVersion(const std::string& target_version_uid) override;
65 void SetUsingP2PForDownloading(bool value) override;
67 void SetUsingP2PForSharing(bool value) override { in SetUsingP2PForSharing()
71 inline std::string GetResponseSignature() override { in GetResponseSignature()
75 inline int GetFullPayloadAttemptNumber() override { in GetFullPayloadAttemptNumber()
79 inline int GetPayloadAttemptNumber() override { in GetPayloadAttemptNumber()
83 inline std::string GetCurrentUrl() override { in GetCurrentUrl()
90 inline uint32_t GetUrlFailureCount() override { return url_failure_count_; } in GetUrlFailureCount()
92 inline uint32_t GetUrlSwitchCount() override { return url_switch_count_; } in GetUrlSwitchCount()
94 inline int GetNumResponsesSeen() override { return num_responses_seen_; } in GetNumResponsesSeen()
96 inline base::Time GetBackoffExpiryTime() override { in GetBackoffExpiryTime()
100 base::TimeDelta GetUpdateDuration() override;
102 base::TimeDelta GetUpdateDurationUptime() override;
104 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded()
108 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded()
112 inline uint32_t GetNumReboots() override { return num_reboots_; } in GetNumReboots()
114 void UpdateEngineStarted() override;
116 inline bool GetRollbackHappened() override { return rollback_happened_; } in GetRollbackHappened()
118 void SetRollbackHappened(bool rollback_happened) override;
120 inline std::string GetRollbackVersion() override { return rollback_version_; } in GetRollbackVersion()
122 int GetP2PNumAttempts() override;
123 base::Time GetP2PFirstAttemptTimestamp() override;
124 void P2PNewAttempt() override;
125 bool P2PAttemptAllowed() override;
127 bool GetUsingP2PForDownloading() const override { in GetUsingP2PForDownloading()
131 bool GetUsingP2PForSharing() const override { return using_p2p_for_sharing_; } in GetUsingP2PForSharing()
133 base::TimeDelta GetScatteringWaitPeriod() override { in GetScatteringWaitPeriod()
137 void SetScatteringWaitPeriod(base::TimeDelta wait_period) override;
139 void SetStagingWaitPeriod(base::TimeDelta wait_period) override;
141 void SetP2PUrl(const std::string& url) override { p2p_url_ = url; } in SetP2PUrl()
143 std::string GetP2PUrl() const override { return p2p_url_; } in GetP2PUrl()
145 bool NextPayload() override;