OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ |
6 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ | 6 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ |
7 | 7 |
8 #include "chrome/installer/util/browser_distribution.h" | 8 #include "chrome/installer/util/browser_distribution.h" |
9 #include "chrome/installer/util/google_chrome_distribution.h" | 9 #include "chrome/installer/util/google_chrome_distribution.h" |
10 #include "chrome/installer/util/l10n_string_util.h" | 10 #include "chrome/installer/util/l10n_string_util.h" |
11 #include "chrome/installer/util/util_constants.h" | 11 #include "chrome/installer/util/util_constants.h" |
12 | 12 |
13 | 13 |
14 // GoogleChromeSxSDistribution encapsulates properties of Google Chrome Sxs | 14 // GoogleChromeSxSDistribution encapsulates properties of Google Chrome Sxs |
15 // distribution which can co-exist with other Google Chrome distributions. | 15 // distribution which can co-exist with other Google Chrome distributions. |
16 // Google Chrome Sxs distribution is installed to a different path, runs | 16 // Google Chrome Sxs distribution is installed to a different path, runs |
17 // alongside with normally installed Google Chrome, and is updated separately. | 17 // alongside with normally installed Google Chrome, and is updated separately. |
18 // It is mainly used for developer preview and testing, and is disabled for | 18 // It is mainly used for developer preview and testing, and is disabled for |
19 // system level install and setting as default browser. | 19 // system level install and setting as default browser. |
20 class GoogleChromeSxSDistribution : public GoogleChromeDistribution { | 20 class GoogleChromeSxSDistribution : public GoogleChromeDistribution { |
21 public: | 21 public: |
22 virtual std::wstring GetAppShortCutName(); | 22 virtual std::wstring GetAppShortCutName(); |
23 virtual std::wstring GetInstallSubDir(); | 23 virtual std::wstring GetInstallSubDir(); |
24 virtual std::wstring GetUninstallRegPath(); | 24 virtual std::wstring GetUninstallRegPath(); |
25 virtual bool CanSetAsDefault(); | 25 virtual bool CanSetAsDefault(); |
26 virtual bool ShouldUseAlternateIcon(); | 26 virtual bool ShouldUseAlternateIcon(); |
| 27 virtual bool IsSpdyEnabled(); |
| 28 virtual std::string GetSpdyMode(); |
27 virtual bool GetChromeChannel(std::wstring* channel); | 29 virtual bool GetChromeChannel(std::wstring* channel); |
28 | 30 |
29 private: | 31 private: |
30 friend class BrowserDistribution; | 32 friend class BrowserDistribution; |
31 | 33 |
32 // Disallow construction from non-friends. | 34 // Disallow construction from non-friends. |
33 GoogleChromeSxSDistribution(); | 35 GoogleChromeSxSDistribution(); |
34 }; | 36 }; |
35 | 37 |
36 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ | 38 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_SXS_DISTRIBUTION_H_ |
OLD | NEW |