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

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

Issue 2622883002: Remove BrowserDistribution::Type. (Closed)
Patch Set: 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.h
diff --git a/chrome/installer/util/product.h b/chrome/installer/util/product.h
index f3d29e89020040630f2ce5cd2f59770a90533073..6c89f9eeae5a5373def3991615327aec0ac55759 100644
--- a/chrome/installer/util/product.h
+++ b/chrome/installer/util/product.h
@@ -52,14 +52,6 @@ class Product {
return distribution_;
}
- bool is_type(BrowserDistribution::Type type) const {
- return distribution_->GetType() == type;
- }
-
- bool is_chrome() const {
- return distribution_->GetType() == BrowserDistribution::CHROME_BROWSER;
- }
-
bool HasOption(const std::wstring& option) const {
return options_.find(option) != options_.end();
}

Powered by Google App Engine
This is Rietveld 408576698