diff options
Diffstat (limited to 'chrome/installer/util/google_chrome_sxs_distribution.h')
-rw-r--r-- | chrome/installer/util/google_chrome_sxs_distribution.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/chrome/installer/util/google_chrome_sxs_distribution.h b/chrome/installer/util/google_chrome_sxs_distribution.h new file mode 100644 index 0000000..4ab3a9d --- /dev/null +++ b/chrome/installer/util/google_chrome_sxs_distribution.h @@ -0,0 +1,31 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ +#define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ + +#include "chrome/installer/util/browser_distribution.h" +#include "chrome/installer/util/google_chrome_distribution.h" +#include "chrome/installer/util/util_constants.h" + + +// GoogleChromeSxSDistribution encapsulates properties of Google Chrome Sxs +// distribution which can co-exist with other Google Chrome distributions. +// Google Chrome Sxs distribution is installed to a different path, runs +// alongside with normally installed Google Chrome, and is updated separately. +// It is mainly used for developer preview and testing, and is disabled for +// system level install and setting as default browser. +class GoogleChromeSxSDistribution : public GoogleChromeDistribution { + public: + virtual std::wstring GetInstallSubDir(); + virtual std::wstring GetUninstallRegPath(); + + private: + friend class BrowserDistribution; + + // Disallow construction from non-friends. + GoogleChromeSxSDistribution(); +}; + +#endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ |