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

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

Issue 2618583005: Remove support for non-browser products from InstallationState and ProductState. (Closed)
Patch Set: sync to position 442664 Created 3 years, 11 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/setup_util.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_util_unittest.cc
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc
index e3e878f64d343b3340650900c09fb94d34ff3f95..db88da66409178613e59491cc6913f0efd3cc060 100644
--- a/chrome/installer/setup/setup_util_unittest.cc
+++ b/chrome/installer/setup/setup_util_unittest.cc
@@ -387,8 +387,8 @@ class FindArchiveToPatchTest : public testing::Test {
installer_state_.reset(new installer::InstallerState(
kSystemInstall_ ? installer::InstallerState::SYSTEM_LEVEL :
installer::InstallerState::USER_LEVEL));
- installer_state_->AddProductFromState(*original_state_->GetProductState(
- kSystemInstall_, BrowserDistribution::CHROME_BROWSER));
+ installer_state_->AddProductFromState(
+ *original_state_->GetProductState(kSystemInstall_));
// Create archives in the two version dirs.
ASSERT_TRUE(
@@ -420,8 +420,7 @@ class FindArchiveToPatchTest : public testing::Test {
void InstallProduct() {
FakeProductState* product = FakeProductState::FromProductState(
- original_state_->GetNonVersionedProductState(
- kSystemInstall_, BrowserDistribution::CHROME_BROWSER));
+ original_state_->GetNonVersionedProductState(kSystemInstall_));
product->set_version(product_version_);
base::CommandLine uninstall_command(
@@ -435,8 +434,7 @@ class FindArchiveToPatchTest : public testing::Test {
void UninstallProduct() {
FakeProductState::FromProductState(
- original_state_->GetNonVersionedProductState(
- kSystemInstall_, BrowserDistribution::CHROME_BROWSER))
+ original_state_->GetNonVersionedProductState(kSystemInstall_))
->set_version(base::Version());
}
« no previous file with comments | « chrome/installer/setup/setup_util.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698