Lines Matching defs:FakeUpdateResponse
87 struct FakeUpdateResponse { struct
88 string GetRollbackVersionAttributes() const { in GetRollbackVersionAttributes()
98 string GetNoUpdateResponse() const { in GetNoUpdateResponse()
121 string GetUpdateResponse() const { in GetUpdateResponse()
191 string GetPayloadUrl() { return codebase + filename; } in GetPayloadUrl()
193 string app_id = kTestAppId;
194 string app_id2 = kTestAppId2;
195 string app_id_skip_updatecheck = kTestAppIdSkipUpdatecheck;
196 string current_version = kCurrentVersion;
197 string version = "1.2.3.4";
198 string version2 = "2.3.4.5";
199 string more_info_url = "http://more/info";
200 string prompt = "true";
201 string codebase = "http://code/base/";
202 string codebase2 = "http://code/base/2/";
203 string filename = "file.signed";
204 string hash = "4841534831323334";
205 uint64_t size = 123;
206 string deadline = "";
207 string max_days_to_scatter = "7";
208 string elapsed_days = "42";
211 bool disable_p2p_for_downloading = false;
212 bool disable_p2p_for_sharing = false;
214 bool powerwash = false;
217 bool include_cohorts = false;
218 string cohort = "";
219 string cohorthint = "";
220 string cohortname = "";
223 bool include_entity = false;
226 bool multi_app = false;
228 bool multi_app_self_update = false;
230 bool multi_app_no_update = false;
232 bool multi_app_skip_updatecheck = false;
234 bool multi_package = false;
237 bool rollback = false;
239 string rollback_firmware_version = "";
241 string rollback_kernel_version = "";