Home
last modified time | relevance | path

Searched refs:product_state (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/installer/setup/
Dinstall_worker_unittest.cc136 const ProductState& product_state) { in SetProductState() argument
139 target.CopyFrom(product_state); in SetProductState()
197 MockProductState product_state; in MaybeAddBinariesToInstallationState() local
198 product_state.set_version(new Version(*current_version_)); in MaybeAddBinariesToInstallationState()
199 product_state.set_brand(L"TEST"); in MaybeAddBinariesToInstallationState()
200 product_state.set_multi_install(true); in MaybeAddBinariesToInstallationState()
206 product_state.SetUninstallProgram( in MaybeAddBinariesToInstallationState()
210 product_state.AddUninstallSwitch(installer::switches::kUninstall); in MaybeAddBinariesToInstallationState()
211 product_state.AddUninstallSwitch(installer::switches::kMultiInstall); in MaybeAddBinariesToInstallationState()
213 product_state.AddUninstallSwitch(installer::switches::kSystemLevel); in MaybeAddBinariesToInstallationState()
[all …]
Duninstall.cc91 const installer::ProductState* product_state = in AddChannelValueUpdateWorkItems() local
94 if (product_state != NULL && in AddChannelValueUpdateWorkItems()
95 product_state->is_multi_install() && in AddChannelValueUpdateWorkItems()
96 !product_state->channel().Equals(channel_info)) { in AddChannelValueUpdateWorkItems()
103 product_state != NULL && product_state->is_multi_install()) in AddChannelValueUpdateWorkItems()
124 const installer::ProductState* product_state = in ProcessGoogleUpdateItems() local
126 DCHECK(product_state != NULL); in ProcessGoogleUpdateItems()
130 channel_info.set_value(product_state->channel().value()); in ProcessGoogleUpdateItems()
209 const installer::ProductState* product_state = in CheckShouldRemoveSetupAndArchive() local
214 if (product_state && product_state->is_multi_install() && in CheckShouldRemoveSetupAndArchive()
[all …]
Dsetup_main.cc322 const ProductState* product_state = in CheckGroupPolicySettings()
325 if (product_state != NULL && in CheckGroupPolicySettings()
326 product_state->version().CompareTo(new_version) < 0) { in CheckGroupPolicySettings()
447 const ProductState* product_state = original_state.GetProductState( in CheckMultiInstallConditions() local
449 if (product_state != NULL) { in CheckMultiInstallConditions()
451 if (product_state->is_multi_install()) { in CheckMultiInstallConditions()
642 const ProductState* product_state = in UninstallProduct() local
645 if (product_state != NULL) { in UninstallProduct()
647 << product_state->version().GetString(); in UninstallProduct()
1505 const ProductState* product_state = in InstallProductsHelper() local
[all …]
Dinstall_worker.cc281 const ProductState* product_state = machine_state.GetProductState( in GetGenericQuickEnableCommand() local
284 DCHECK(product_state); in GetGenericQuickEnableCommand()
285 binaries_setup_path = product_state->uninstall_command().GetProgram(); in GetGenericQuickEnableCommand()
835 const ProductState* product_state = in AddEulaAcceptedWorkItems() local
838 if (product_state->GetEulaAccepted(&dword_value) && in AddEulaAcceptedWorkItems()
932 const ProductState* product_state = in AddUsageStatsWorkItems() local
935 value_found = product_state->GetUsageStats(&usagestats); in AddUsageStatsWorkItems()
Dsetup_util.cc322 const ProductState* product_state = in WillProductBePresentAfterSetup() local
326 bool is_present = (product_state != NULL); in WillProductBePresentAfterSetup()
/external/chromium_org/chrome_frame/turndown_prompt/
Dturndown_prompt.cc218 installer::ProductState product_state; in LaunchChromeFrameUninstaller() local
219 if (!product_state.Initialize(system_level, dist)) { in LaunchChromeFrameUninstaller()
225 CommandLine uninstall_command(product_state.uninstall_command()); in LaunchChromeFrameUninstaller()
261 installer::ProductState product_state; in IsPromptSuppressed() local
262 if (product_state.Initialize(system_level, dist)) { in IsPromptSuppressed()
263 if (product_state.is_msi()) in IsPromptSuppressed()
265 multi_install = product_state.is_multi_install(); in IsPromptSuppressed()
/external/chromium_org/chrome/installer/util/
Dinstaller_state.cc182 const ProductState* product_state = machine_state.GetProductState( in Initialize() local
184 if (product_state != NULL && in Initialize()
185 product_state->uninstall_command().HasSwitch( in Initialize()
207 const ProductState* product_state = in Initialize() local
209 if (product_state == NULL) { in Initialize()
214 if (!product_state->is_multi_install() && in Initialize()
446 const ProductState* product_state = machine_state.GetProductState( in AddProductFromPreferences() local
448 if (product_state != NULL) in AddProductFromPreferences()
449 msi_ = product_state->is_msi(); in AddProductFromPreferences()
535 const ProductState* product_state = in GetCurrentVersion() local
[all …]
Dinstallation_validator.cc721 const ProductState& product_state, in ValidateProduct() argument
726 ProductContext ctx(machine_state, system_install, product_state, rules); in ValidateProduct()
759 const ProductState* product_state = in ValidateInstallationTypeForState() local
762 if (product_state != NULL) { in ValidateInstallationTypeForState()
764 ValidateProduct(machine_state, system_level, *product_state, in ValidateInstallationTypeForState()
767 *type | (product_state->is_multi_install() ? in ValidateInstallationTypeForState()
773 product_state = in ValidateInstallationTypeForState()
776 if (product_state != NULL) { in ValidateInstallationTypeForState()
778 ValidateProduct(machine_state, system_level, *product_state, in ValidateInstallationTypeForState()
780 int cf_bit = !product_state->is_multi_install() ? in ValidateInstallationTypeForState()
[all …]
Dinstallation_state.cc265 const ProductState& product_state = (system_install ? system_products_ : in GetNonVersionedProductState() local
267 return &product_state; in GetNonVersionedProductState()
273 const ProductState* product_state = in GetProductState() local
275 return product_state->version_.get() == NULL ? NULL : product_state; in GetProductState()
Dfake_installation_state.h45 const ProductState& product_state) { in SetProductState() argument
47 target.CopyFrom(product_state); in SetProductState()
Dgoogle_update_settings.cc316 const installer::ProductState* product_state = in SetEULAConsent() local
318 if (product_state != NULL && product_state->is_multi_install()) { in SetEULAConsent()
Dinstallation_validator.h253 const ProductState& product_state,