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

Unified Diff: chrome/installer/setup/uninstall.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_unittest.cc ('k') | chrome/installer/util/fake_installation_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 6115b82fbb43b3ab8265c800a208c07ebf9cce29..2c8f2af26b6a91c30c029653ddbe49f418c8aae8 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -988,8 +988,7 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
// Get the state of the installed product (if any)
const ProductState* product_state =
- original_state.GetProductState(installer_state.system_install(),
- browser_dist->GetType());
+ original_state.GetProductState(installer_state.system_install());
// Remove the event log provider registration as we are going to delete
// the file which serves the resources anyways.
« no previous file with comments | « chrome/installer/setup/setup_util_unittest.cc ('k') | chrome/installer/util/fake_installation_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698