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

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: Fix unittests. 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 4b4ec65ebea19a7cecc3499b2ae59fa601b04391..eabc3c9cc5be73417f86bef0f8b30fc3557986ec 100644
--- a/chrome/installer/util/product.h
+++ b/chrome/installer/util/product.h
@@ -56,6 +56,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