Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10773)

Unified Diff: chrome/installer/setup/install_worker.cc

Issue 1281313003: base: Remove using:: declaration from version.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/install_unittest.cc ('k') | chrome/installer/setup/install_worker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/install_worker.cc
diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc
index 4ed8a72c4cf009045a9c7ef6994ccb0a6fce3076..a1eea40b3e16a7e0884eda6f97c0c7bead35e6c2 100644
--- a/chrome/installer/setup/install_worker.cc
+++ b/chrome/installer/setup/install_worker.cc
@@ -79,8 +79,8 @@ void GetOldIELowRightsElevationPolicyKeyPath(base::string16* key_path) {
// products managed by a given package.
// |old_version| can be NULL to indicate no Chrome is currently installed.
void AddRegisterComDllWorkItemsForPackage(const InstallerState& installer_state,
- const Version* old_version,
- const Version& new_version,
+ const base::Version* old_version,
+ const base::Version& new_version,
WorkItemList* work_item_list) {
// First collect the list of DLLs to be registered from each product.
std::vector<base::FilePath> com_dll_list;
@@ -122,7 +122,7 @@ void AddInstallerCopyTasks(const InstallerState& installer_state,
const base::FilePath& setup_path,
const base::FilePath& archive_path,
const base::FilePath& temp_path,
- const Version& new_version,
+ const base::Version& new_version,
WorkItemList* install_list) {
DCHECK(install_list);
base::FilePath installer_dir(
@@ -225,7 +225,7 @@ void AddFirewallRulesWorkItems(const InstallerState& installer_state,
void AddProductSpecificWorkItems(const InstallationState& original_state,
const InstallerState& installer_state,
const base::FilePath& setup_path,
- const Version& new_version,
+ const base::Version& new_version,
bool is_new_install,
bool add_language_identifier,
WorkItemList* list) {
@@ -308,8 +308,8 @@ void AddChromeWorkItems(const InstallationState& original_state,
const base::FilePath& archive_path,
const base::FilePath& src_path,
const base::FilePath& temp_path,
- const Version* current_version,
- const Version& new_version,
+ const base::Version* current_version,
+ const base::Version& new_version,
WorkItemList* install_list) {
const base::FilePath& target_path = installer_state.target_path();
@@ -503,7 +503,7 @@ void CleanupBadCanaryDelegateExecuteRegistration(
// state key if running under an MSI installer.
void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
const base::FilePath& setup_path,
- const Version& new_version,
+ const base::Version& new_version,
const Product& product,
WorkItemList* install_list) {
HKEY reg_root = installer_state.root_key();
@@ -650,7 +650,7 @@ void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
void AddVersionKeyWorkItems(HKEY root,
const base::string16& version_key,
const base::string16& product_name,
- const Version& new_version,
+ const base::Version& new_version,
bool add_language_identifier,
WorkItemList* list) {
list->AddCreateRegKeyWorkItem(root, version_key, KEY_WOW64_32KEY);
@@ -987,8 +987,8 @@ void AddMigrateUsageStatesWorkItems(const InstallationState& original_state,
bool AppendPostInstallTasks(const InstallerState& installer_state,
const base::FilePath& setup_path,
- const Version* current_version,
- const Version& new_version,
+ const base::Version* current_version,
+ const base::Version& new_version,
const base::FilePath& temp_path,
WorkItemList* post_install_task_list) {
DCHECK(post_install_task_list);
@@ -1010,7 +1010,7 @@ bool AppendPostInstallTasks(const InstallerState& installer_state,
// |critical_version| will be valid only if this in-use update includes a
// version considered critical relative to the version being updated.
- Version critical_version(installer_state.DetermineCriticalVersion(
+ base::Version critical_version(installer_state.DetermineCriticalVersion(
current_version, new_version));
base::FilePath installer_path(
installer_state.GetInstallerDirectory(new_version).Append(
@@ -1138,8 +1138,8 @@ void AddInstallWorkItems(const InstallationState& original_state,
const base::FilePath& archive_path,
const base::FilePath& src_path,
const base::FilePath& temp_path,
- const Version* current_version,
- const Version& new_version,
+ const base::Version* current_version,
+ const base::Version& new_version,
WorkItemList* install_list) {
DCHECK(install_list);
@@ -1283,7 +1283,7 @@ void AddSetMsiMarkerWorkItem(const InstallerState& installer_state,
void AddDelegateExecuteWorkItems(const InstallerState& installer_state,
const base::FilePath& target_path,
- const Version& new_version,
+ const base::Version& new_version,
const Product& product,
WorkItemList* list) {
base::string16 handler_class_uuid;
@@ -1354,7 +1354,7 @@ void AddDelegateExecuteWorkItems(const InstallerState& installer_state,
}
void AddActiveSetupWorkItems(const InstallerState& installer_state,
- const Version& new_version,
+ const base::Version& new_version,
const Product& product,
WorkItemList* list) {
DCHECK(installer_state.operation() != InstallerState::UNINSTALL);
@@ -1468,7 +1468,7 @@ void RefreshElevationPolicy() {
void AddOsUpgradeWorkItems(const InstallerState& installer_state,
const base::FilePath& setup_path,
- const Version& new_version,
+ const base::Version& new_version,
const Product& product,
WorkItemList* install_list) {
const HKEY root_key = installer_state.root_key();
« no previous file with comments | « chrome/installer/setup/install_unittest.cc ('k') | chrome/installer/setup/install_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698