OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // This file extends the browser distribution with a specific implementation |
| 6 // for Chrome Frame. |
| 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| 10 |
| 11 #include <string> |
| 12 |
| 13 #include "chrome/installer/util/browser_distribution.h" |
| 14 #include "chrome/installer/util/util_constants.h" |
| 15 |
| 16 class ChromeFrameDistribution : public BrowserDistribution { |
| 17 public: |
| 18 virtual std::wstring GetApplicationName(); |
| 19 |
| 20 virtual std::wstring GetAlternateApplicationName(); |
| 21 |
| 22 virtual std::wstring GetInstallSubDir(); |
| 23 |
| 24 virtual std::wstring GetPublisherName(); |
| 25 |
| 26 virtual std::wstring GetAppDescription(); |
| 27 |
| 28 virtual std::wstring GetStateKey(); |
| 29 |
| 30 virtual std::wstring GetStateMediumKey(); |
| 31 |
| 32 virtual std::wstring GetStatsServerURL(); |
| 33 |
| 34 virtual std::wstring GetUninstallLinkName(); |
| 35 |
| 36 virtual std::wstring GetUninstallRegPath(); |
| 37 |
| 38 virtual std::wstring GetVersionKey(); |
| 39 |
| 40 virtual int GetInstallReturnCode(installer_util::InstallStatus status); |
| 41 |
| 42 private: |
| 43 friend class BrowserDistribution; |
| 44 |
| 45 // Disallow construction from non-friends. |
| 46 ChromeFrameDistribution() {} |
| 47 |
| 48 }; |
| 49 |
| 50 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
OLD | NEW |