Searched refs:installer_state (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/chrome/installer/setup/
H A Dinstall_worker.h35 void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
53 const InstallerState& installer_state,
58 const InstallerState& installer_state,
64 const InstallerState& installer_state,
74 const InstallerState& installer_state,
87 bool AppendPostInstallTasks(const InstallerState& installer_state,
107 const InstallerState& installer_state,
132 void AddSetMsiMarkerWorkItem(const InstallerState& installer_state,
141 void AddDelegateExecuteWorkItems(const InstallerState& installer_state,
152 void AddActiveSetupWorkItems(const InstallerState& installer_state,
[all...]
H A Dinstall_worker.cc43 #include "chrome/installer/util/installer_state.h"
89 void AddRegisterComDllWorkItemsForPackage(const InstallerState& installer_state, argument
95 installer_state.AddComDllList(&com_dll_list);
107 base::FilePath old_dll_path(installer_state.target_path().AppendASCII(
112 installer_state.system_install(),
118 base::FilePath dll_path(installer_state.target_path().AppendASCII(
122 installer_state.system_install(),
129 void AddInstallerCopyTasks(const InstallerState& installer_state, argument
137 installer_state.GetInstallerDirectory(new_version));
147 if (installer_state
204 AddCommandWithParameterWorkItems(const InstallerState& installer_state, const InstallationState& machine_state, const Version& new_version, const Product& product, const wchar_t* command_key, const wchar_t* app, const char* command_with_parameter, WorkItemList* work_item_list) argument
238 AddLegacyAppCommandRemovalItem(const InstallerState& installer_state, BrowserDistribution* distribution, const wchar_t* name, WorkItemList* work_item_list) argument
286 AddFirewallRulesWorkItems(const InstallerState& installer_state, BrowserDistribution* dist, bool is_new_install, WorkItemList* list) argument
303 GetGenericQuickEnableCommand( const InstallerState& installer_state, const InstallationState& machine_state, const base::FilePath& setup_path, const Version& new_version) argument
348 AddQuickEnableApplicationLauncherWorkItems( const InstallerState& installer_state, const InstallationState& machine_state, const base::FilePath& setup_path, const Version& new_version, WorkItemList* work_item_list) argument
384 AddProductSpecificWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const Version& new_version, bool is_new_install, WorkItemList* list) argument
428 AddDeleteUninstallShortcutsForMSIWorkItems( const InstallerState& installer_state, const Product& product, const base::FilePath& temp_path, WorkItemList* work_item_list) argument
472 AddChromeWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version* current_version, const Version& new_version, WorkItemList* install_list) argument
671 AddUninstallShortcutWorkItems(const InstallerState& installer_state, const base::FilePath& setup_path, const Version& new_version, const Product& product, WorkItemList* install_list) argument
863 AddOemInstallWorkItems(const InstallationState& original_state, const InstallerState& installer_state, WorkItemList* install_list) argument
919 AddEulaAcceptedWorkItems(const InstallationState& original_state, const InstallerState& installer_state, WorkItemList* install_list) argument
977 AddGoogleUpdateWorkItems(const InstallationState& original_state, const InstallerState& installer_state, WorkItemList* install_list) argument
1033 AddUsageStatsWorkItems(const InstallationState& original_state, const InstallerState& installer_state, WorkItemList* install_list) argument
1099 AppendPostInstallTasks(const InstallerState& installer_state, const base::FilePath& setup_path, const Version* current_version, const Version& new_version, const base::FilePath& temp_path, WorkItemList* post_install_task_list) argument
1246 AddInstallWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version* current_version, const Version& new_version, WorkItemList* install_list) argument
1378 AddSetMsiMarkerWorkItem(const InstallerState& installer_state, BrowserDistribution* dist, bool set, WorkItemList* work_item_list) argument
1396 AddDelegateExecuteWorkItems(const InstallerState& installer_state, const base::FilePath& target_path, const Version& new_version, const Product& product, WorkItemList* list) argument
1468 AddActiveSetupWorkItems(const InstallerState& installer_state, const base::FilePath& setup_path, const Version& new_version, const Product& product, WorkItemList* list) argument
1536 AddDeleteOldIELowRightsPolicyWorkItems( const InstallerState& installer_state, WorkItemList* install_list) argument
1547 AppendUninstallCommandLineFlags(const InstallerState& installer_state, const Product& product, CommandLine* uninstall_cmd) argument
1586 AddOsUpgradeWorkItems(const InstallerState& installer_state, const base::FilePath& setup_path, const Version& new_version, const Product& product, WorkItemList* install_list) argument
1619 AddQueryEULAAcceptanceWorkItems(const InstallerState& installer_state, const base::FilePath& setup_path, const Version& new_version, const Product& product, WorkItemList* work_item_list) argument
1646 AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, WorkItemList* work_item_list) argument
[all...]
H A Dsetup_main.cc59 #include "chrome/installer/util/installer_state.h"
95 const installer::InstallerState& installer_state,
140 const installer::InstallerState& installer_state,
144 installer_state.UpdateStage(installer::UNCOMPRESSING);
147 installer_state.WriteInstallerResult(*install_status,
162 installer_state));
166 installer_state.WriteInstallerResult(*install_status,
174 if ((installer_state.UpdateStage(installer::ENSEMBLE_PATCHING),
176 (installer_state.UpdateStage(installer::BINARY_PATCHING),
179 installer_state
92 CreateChromeArchiveHelper( const base::FilePath& setup_exe, const CommandLine& command_line, const installer::InstallerState& installer_state, const base::FilePath& working_directory) argument
138 UncompressAndPatchChromeArchive( const installer::InstallationState& original_state, const installer::InstallerState& installer_state, installer::ArchivePatchHelper* archive_helper, installer::ArchiveType* archive_type, installer::InstallStatus* install_status) argument
192 AddExistingMultiInstalls(const InstallationState& original_state, InstallerState* installer_state) argument
221 RenameChromeExecutables( const InstallationState& original_state, InstallerState* installer_state) argument
301 CheckGroupPolicySettings(const InstallationState& original_state, const InstallerState& installer_state, const Version& new_version, installer::InstallStatus* status) argument
373 CheckMultiInstallConditions(const InstallationState& original_state, InstallerState* installer_state, installer::InstallStatus* status) argument
479 CheckAppHostPreconditions(const InstallationState& original_state, InstallerState* installer_state, installer::InstallStatus* status) argument
512 CheckPreInstallConditions(const InstallationState& original_state, InstallerState* installer_state, installer::InstallStatus* status) argument
620 CreateTemporaryAndUnpackDirectories( const InstallerState& installer_state, installer::SelfCleaningTempDir* temp_path, base::FilePath* unpack_path) argument
643 UninstallProduct( const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_exe, const CommandLine& cmd_line, bool remove_all, bool force_uninstall, const Product& product) argument
668 UninstallProducts( const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_exe, const CommandLine& cmd_line) argument
744 UninstallBinariesIfUnused( const InstallationState& original_state, const InstallerState& installer_state, installer::InstallStatus* install_status) argument
778 InstallProducts( const InstallationState& original_state, const base::FilePath& setup_exe, const CommandLine& cmd_line, const MasterPreferences& prefs, InstallerState* installer_state, base::FilePath* installer_directory) argument
894 RegisterDevChrome( const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_exe, const CommandLine& cmd_line) argument
972 HandleNonInstallCmdLineOptions(const InstallationState& original_state, const base::FilePath& setup_exe, const CommandLine& cmd_line, InstallerState* installer_state, int* exit_code) argument
1328 UninstallMultiChromeFrameIfPresent(const CommandLine& cmd_line, const MasterPreferences& prefs, InstallationState* original_state, InstallerState* installer_state) argument
1384 InstallProductsHelper( const InstallationState& original_state, const base::FilePath& setup_exe, const CommandLine& cmd_line, const MasterPreferences& prefs, const InstallerState& installer_state, base::FilePath* installer_directory, ArchiveType* archive_type, bool* delegated_to_existing) argument
1709 InstallerState installer_state; local
[all...]
H A Duninstall.h46 bool DeleteChromeRegistrationKeys(const InstallerState& installer_state,
62 // installer_state: State associated with this operation.
74 const InstallerState& installer_state,
87 // installer_state: State associated with this operation.
94 const InstallerState& installer_state,
H A Dinstall.cc142 const installer::InstallerState& installer_state,
144 base::FilePath prefs_dest_path(installer_state.target_path().AppendASCII(
174 const installer::InstallerState& installer_state,
183 installer_state.UpdateStage(installer::BUILDING);
185 current_version->reset(installer_state.GetCurrentVersion(original_state));
189 installer_state,
199 installer_state.target_path().Append(installer::kChromeNewExe));
201 installer_state.UpdateStage(installer::EXECUTING);
204 installer_state.UpdateStage(installer::ROLLINGBACK);
216 installer_state
141 CopyPreferenceFileForFirstRun( const installer::InstallerState& installer_state, const base::FilePath& prefs_source_path) argument
172 InstallNewVersion( const installer::InstallationState& original_state, const installer::InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version& new_version, scoped_ptr<Version>* current_version) argument
249 CleanupLegacyShortcuts(const installer::InstallerState& installer_state, BrowserDistribution* dist, const base::FilePath& chrome_exe) argument
264 GetAppLauncherShortcutOperation( const installer::InstallationState& original_state, const installer::InstallerState& installer_state) argument
460 RegisterChromeOnMachine(const installer::InstallerState& installer_state, const installer::Product& product, bool make_chrome_default) argument
486 InstallOrUpdateProduct( const installer::InstallationState& original_state, const installer::InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& install_temp_path, const base::FilePath& src_path, const base::FilePath& prefs_path, const MasterPreferences& prefs, const Version& new_version) argument
631 HandleOsUpgradeForBrowser(const installer::InstallerState& installer_state, const installer::Product& chrome) argument
[all...]
H A Duninstall.cc43 #include "chrome/installer/util/installer_state.h"
82 const InstallerState& installer_state,
86 const bool system_level = installer_state.system_install();
87 const HKEY reg_root = installer_state.root_key();
121 const InstallerState& installer_state,
123 DCHECK(installer_state.is_multi_install());
124 const bool system_level = installer_state.system_install();
146 AddChannelValueUpdateWorkItems(original_state, installer_state,
154 void ProcessOnOsUpgradeWorkItems(const InstallerState& installer_state, argument
158 AddOsUpgradeWorkItems(installer_state, bas
80 AddChannelValueUpdateWorkItems( const InstallationState& original_state, const InstallerState& installer_state, const ChannelInfo& channel_info, const std::vector<BrowserDistribution::Type>& dist_types, WorkItemList* update_list) argument
120 ProcessGoogleUpdateItems(const InstallationState& original_state, const InstallerState& installer_state, const Product& product) argument
164 ProcessIELowRightsPolicyWorkItems(const InstallerState& installer_state) argument
193 CheckShouldRemoveSetupAndArchive(const InstallationState& original_state, const InstallerState& installer_state, bool* remove_setup, bool* remove_archive) argument
312 RetargetUserShortcutsWithArgs(const InstallerState& installer_state, const Product& product, const base::FilePath& old_target_exe, const base::FilePath& new_target_exe) argument
340 DeleteShortcuts(const InstallerState& installer_state, const Product& product, const base::FilePath& target_exe) argument
460 MoveSetupOutOfInstallFolder(const InstallerState& installer_state, const base::FilePath& setup_exe) argument
516 DeleteAppHostFilesAndFolders(const InstallerState& installer_state, const Version& installed_version) argument
538 DeleteChromeFilesAndFolders(const InstallerState& installer_state, const base::FilePath& setup_exe) argument
606 IsChromeActiveOrUserCancelled( const InstallerState& installer_state, const Product& product) argument
640 ShouldDeleteProfile(const InstallerState& installer_state, const CommandLine& cmd_line, InstallStatus status, const Product& product) argument
664 RemoveFiletypeRegistration(const InstallerState& installer_state, HKEY root, const base::string16& browser_entry_suffix) argument
735 ProcessDelegateExecuteWorkItems(const InstallerState& installer_state, const Product& product) argument
748 UninstallActiveSetupEntries(const InstallerState& installer_state, const Product& product) argument
904 DeleteChromeRegistrationKeys(const InstallerState& installer_state, BrowserDistribution* dist, HKEY root, const base::string16& browser_entry_suffix, InstallStatus* exit_code) argument
1091 UninstallProduct(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_exe, const Product& product, bool remove_all, bool force_uninstall, const CommandLine& cmd_line) argument
1402 CleanUpInstallationDirectoryAfterUninstall( const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_exe, InstallStatus* uninstall_status) argument
[all...]
H A Dsetup_main.h32 const InstallerState& installer_state,
H A Dinstall.h15 #include "chrome/installer/util/installer_state.h"
86 void RegisterChromeOnMachine(const InstallerState& installer_state,
110 const InstallerState& installer_state,
121 void HandleOsUpgradeForBrowser(const InstallerState& installer_state,
H A Dinstall_worker_unittest.cc16 #include "chrome/installer/util/installer_state.h"
298 scoped_ptr<MockInstallerState> installer_state(new MockInstallerState());
302 installer_state->set_level(level);
303 installer_state->set_operation(operation);
305 installer_state->set_state_key(L"PROBABLY_INVALID_REG_PATH");
306 installer_state->set_state_type(BrowserDistribution::CHROME_BROWSER);
307 installer_state->set_package_type(multi_install ?
310 return installer_state.release();
315 MockInstallerState* installer_state) {
316 if (!installer_state
313 AddChromeBinariesToInstallerState( const InstallationState& machine_state, MockInstallerState* installer_state) argument
340 AddChromeToInstallerState( const InstallationState& machine_state, MockInstallerState* installer_state) argument
362 AddChromeFrameToInstallerState( const InstallationState& machine_state, MockInstallerState* installer_state) argument
762 scoped_ptr<InstallerState> installer_state; local
[all...]
H A Dsetup_util.h55 const InstallerState& installer_state);
82 const InstallerState& installer_state,
88 // the level specified by |installer_state|.
92 const installer::InstallerState& installer_state,
H A Dsetup_util.cc29 #include "chrome/installer/util/installer_state.h"
171 const InstallerState& installer_state) {
177 original_state.GetProductState(installer_state.system_install(),
178 installer_state.state_type());
180 patch_source = installer_state.GetInstallerDirectory(product->version())
186 installer::GetMaxVersionFromArchiveDir(installer_state.target_path()));
188 patch_source = installer_state.GetInstallerDirectory(*version)
288 const InstallerState& installer_state,
294 base::FilePath prefs_dest_path(installer_state.target_path().AppendASCII(
319 const installer::InstallerState& installer_state,
170 FindArchiveToPatch(const InstallationState& original_state, const InstallerState& installer_state) argument
286 DeferToExistingInstall(const base::FilePath& setup_exe, const CommandLine& command_line, const InstallerState& installer_state, const base::FilePath& temp_path, InstallStatus* install_status) argument
318 WillProductBePresentAfterSetup( const installer::InstallerState& installer_state, const installer::InstallationState& machine_state, BrowserDistribution::Type type) argument
[all...]
/external/chromium_org/chrome/installer/util/
H A Dinstaller_state_unittest.cc30 #include "chrome/installer/util/installer_state.h"
78 MockInstallerState* installer_state) {
83 installer_state->Initialize(cmd_line, prefs, machine_state);
84 installer_state->set_target_path(target_dir);
85 EXPECT_TRUE(installer_state->FindProduct(BrowserDistribution::CHROME_BROWSER)
142 MockInstallerState installer_state; local
143 BuildSingleChromeState(chrome_dir, &installer_state);
148 installer_state.RemoveOldVersionDirectories(latest_version, NULL,
222 MockInstallerState installer_state; local
223 BuildSingleChromeState(chrome_dir, &installer_state);
77 BuildSingleChromeState(const base::FilePath& target_dir, MockInstallerState* installer_state) argument
259 MockInstallerState installer_state; local
342 MockInstallerState installer_state; local
464 InstallerState installer_state; local
500 MockInstallerState installer_state; local
626 InstallerState installer_state; local
[all...]
H A Dproduct_unittest.cc15 #include "chrome/installer/util/installer_state.h"
61 installer::InstallerState installer_state; local
62 installer_state.Initialize(cmd_line, prefs, machine_state);
64 const Product* product = installer_state.products()[0];
79 HKEY root = installer_state.root_key();

Completed in 231 milliseconds