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

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

Issue 10665002: Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A basic working app host installer/uninstaller. Created 8 years, 5 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 0f1a019aecac6ce4f4da8a42ce86e343108af8f1..2f23988bda08e5f1b2731c3bf6904ef58765ee78 100644
--- a/chrome/installer/util/product.h
+++ b/chrome/installer/util/product.h
@@ -57,6 +57,14 @@ class Product {
return distribution_->GetType() == BrowserDistribution::CHROME_FRAME;
}
+ bool is_chrome_app_host() const {
+ return distribution_->GetType() == BrowserDistribution::CHROME_APP_HOST;
+ }
+
+ bool is_chrome_binaries() const {
+ return distribution_->GetType() == BrowserDistribution::CHROME_BINARIES;
+ }
+
bool HasOption(const std::wstring& option) const {
return options_.find(option) != options_.end();
}

Powered by Google App Engine
This is Rietveld 408576698