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

Unified Diff: chrome/installer/util/product.cc

Issue 2621713004: Remove *BinariesDistribution and ChromeBinariesOperations from installer_util. (Closed)
Patch Set: sync to position 442533 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
Index: chrome/installer/util/product.cc
diff --git a/chrome/installer/util/product.cc b/chrome/installer/util/product.cc
index a7fbe0fba782af49dadf40fce11d5288b69ffedc..32b70e485fc8b6a2094c44e3016ec2ec3b38e4fe 100644
--- a/chrome/installer/util/product.cc
+++ b/chrome/installer/util/product.cc
@@ -10,7 +10,6 @@
#include "base/logging.h"
#include "base/process/launch.h"
#include "base/win/registry.h"
-#include "chrome/installer/util/chrome_binaries_operations.h"
#include "chrome/installer/util/chrome_browser_operations.h"
#include "chrome/installer/util/chrome_browser_sxs_operations.h"
#include "chrome/installer/util/google_update_constants.h"
@@ -32,9 +31,6 @@ Product::Product(BrowserDistribution* distribution)
new ChromeBrowserSxSOperations() :
new ChromeBrowserOperations());
break;
- case BrowserDistribution::CHROME_BINARIES:
- operations_.reset(new ChromeBinariesOperations());
- break;
default:
NOTREACHED() << "Unsupported BrowserDistribution::Type: "
<< distribution->GetType();
@@ -122,10 +118,6 @@ bool Product::SetMsiMarker(bool system_install, bool set) const {
return true;
}
-bool Product::ShouldCreateUninstallEntry() const {
- return operations_->ShouldCreateUninstallEntry(options_);
-}
-
void Product::AddKeyFiles(std::vector<base::FilePath>* key_files) const {
operations_->AddKeyFiles(options_, key_files);
}

Powered by Google App Engine
This is Rietveld 408576698