| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file extends the browser distribution with a specific implementation | 5 // This file extends the browser distribution with a specific implementation |
| 6 // for Chrome Frame. | 6 // for Chrome Frame. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| 10 | 10 |
| 11 #include "chrome/installer/util/browser_distribution.h" | 11 #include "chrome/installer/util/browser_distribution.h" |
| 12 #include "chrome/installer/util/util_constants.h" | 12 #include "chrome/installer/util/util_constants.h" |
| 13 | 13 |
| 14 class ChromeFrameDistribution : public BrowserDistribution { | 14 class ChromeFrameDistribution : public BrowserDistribution { |
| 15 public: | 15 public: |
| 16 virtual base::string16 GetAppGuid() OVERRIDE; | 16 virtual base::string16 GetAppGuid() OVERRIDE; |
| 17 | 17 |
| 18 virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; | 18 virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; |
| 19 | 19 |
| 20 virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; | 20 virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; |
| 21 | 21 |
| 22 virtual base::string16 GetDisplayName() OVERRIDE; |
| 23 |
| 22 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; | 24 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; |
| 23 | 25 |
| 24 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; | 26 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; |
| 25 | 27 |
| 26 virtual base::string16 GetBaseAppName() OVERRIDE; | 28 virtual base::string16 GetBaseAppName() OVERRIDE; |
| 27 | 29 |
| 28 virtual base::string16 GetInstallSubDir() OVERRIDE; | 30 virtual base::string16 GetInstallSubDir() OVERRIDE; |
| 29 | 31 |
| 30 virtual base::string16 GetPublisherName() OVERRIDE; | 32 virtual base::string16 GetPublisherName() OVERRIDE; |
| 31 | 33 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 installer::InstallStatus install_status) OVERRIDE; | 65 installer::InstallStatus install_status) OVERRIDE; |
| 64 | 66 |
| 65 protected: | 67 protected: |
| 66 friend class BrowserDistribution; | 68 friend class BrowserDistribution; |
| 67 | 69 |
| 68 // Disallow construction from non-friends. | 70 // Disallow construction from non-friends. |
| 69 ChromeFrameDistribution(); | 71 ChromeFrameDistribution(); |
| 70 }; | 72 }; |
| 71 | 73 |
| 72 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 74 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
| OLD | NEW |