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.cc90 const ProductState* product_state = in AddChannelValueUpdateWorkItems() local
93 if (product_state != NULL && in AddChannelValueUpdateWorkItems()
94 product_state->is_multi_install() && in AddChannelValueUpdateWorkItems()
95 !product_state->channel().Equals(channel_info)) { in AddChannelValueUpdateWorkItems()
106 product_state != NULL && product_state->is_multi_install()) in AddChannelValueUpdateWorkItems()
126 const ProductState* product_state = in ProcessGoogleUpdateItems() local
128 DCHECK(product_state != NULL); in ProcessGoogleUpdateItems()
132 channel_info.set_value(product_state->channel().value()); in ProcessGoogleUpdateItems()
209 const ProductState* product_state = original_state.GetProductState( in CheckShouldRemoveSetupAndArchive() local
213 if (product_state && product_state->is_multi_install() && in CheckShouldRemoveSetupAndArchive()
[all …]
Dsetup_main.cc331 const ProductState* product_state = in CheckGroupPolicySettings()
334 if (product_state != NULL && in CheckGroupPolicySettings()
335 product_state->version().CompareTo(new_version) < 0) { in CheckGroupPolicySettings()
456 const ProductState* product_state = original_state.GetProductState( in CheckMultiInstallConditions() local
458 if (product_state != NULL) { in CheckMultiInstallConditions()
460 if (product_state->is_multi_install()) { in CheckMultiInstallConditions()
651 const ProductState* product_state = in UninstallProduct() local
654 if (product_state != NULL) { in UninstallProduct()
656 << product_state->version().GetString(); in UninstallProduct()
1510 const ProductState* product_state = in InstallProductsHelper() local
[all …]
Dinstall_worker.cc323 const ProductState* product_state = machine_state.GetProductState( in GetGenericQuickEnableCommand() local
326 DCHECK(product_state); in GetGenericQuickEnableCommand()
327 binaries_setup_path = product_state->uninstall_command().GetProgram(); in GetGenericQuickEnableCommand()
942 const ProductState* product_state = in AddEulaAcceptedWorkItems() local
945 if (product_state->GetEulaAccepted(&dword_value) && in AddEulaAcceptedWorkItems()
1050 const ProductState* product_state = in AddUsageStatsWorkItems() local
1053 value_found = product_state->GetUsageStats(&usagestats); in AddUsageStatsWorkItems()
Dsetup_util.cc324 const ProductState* product_state = in WillProductBePresentAfterSetup() local
328 bool is_present = (product_state != NULL); in WillProductBePresentAfterSetup()
/external/chromium_org/chrome/installer/util/
Dgoogle_update_util.cc156 installer::ProductState product_state; in ElevateIfNeededToReenableUpdates() local
160 if (!product_state.Initialize(system_install, dist)) in ElevateIfNeededToReenableUpdates()
162 base::FilePath exe_path(product_state.GetSetupPath()); in ElevateIfNeededToReenableUpdates()
171 product.InitializeFromUninstallCommand(product_state.uninstall_command()); in ElevateIfNeededToReenableUpdates()
175 if (product_state.uninstall_command().HasSwitch( in ElevateIfNeededToReenableUpdates()
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.cc660 const ProductState& product_state, in ValidateProduct() argument
665 ProductContext ctx(machine_state, system_install, product_state, rules); in ValidateProduct()
699 const ProductState* product_state = in ValidateInstallationTypeForState() local
702 if (product_state != NULL) { in ValidateInstallationTypeForState()
704 ValidateProduct(machine_state, system_level, *product_state, in ValidateInstallationTypeForState()
707 *type | (product_state->is_multi_install() ? in ValidateInstallationTypeForState()
713 product_state = in ValidateInstallationTypeForState()
716 if (product_state != NULL) { in ValidateInstallationTypeForState()
718 ValidateProduct(machine_state, system_level, *product_state, in ValidateInstallationTypeForState()
720 int cf_bit = !product_state->is_multi_install() ? in ValidateInstallationTypeForState()
[all …]
Dinstallation_state.cc266 const ProductState& product_state = (system_install ? system_products_ : in GetNonVersionedProductState() local
268 return &product_state; in GetNonVersionedProductState()
274 const ProductState* product_state = in GetProductState() local
276 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()
Dinstallation_validator.h241 const ProductState& product_state,
Dgoogle_update_settings.cc361 const installer::ProductState* product_state = in SetEULAConsent() local
363 if (product_state != NULL && product_state->is_multi_install()) { in SetEULAConsent()