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

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

Issue 10805043: (re-commit) Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix setup_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
« no previous file with comments | « chrome/installer/util/prebuild/create_string_rc.py ('k') | chrome/installer/util/product.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « chrome/installer/util/prebuild/create_string_rc.py ('k') | chrome/installer/util/product.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698