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 AppHost. | 6 // for Chrome AppHost. |
7 | 7 |
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_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 ChromeAppHostDistribution : public BrowserDistribution { | 14 class ChromeAppHostDistribution : public BrowserDistribution { |
15 public: | 15 public: |
16 virtual string16 GetAppGuid() OVERRIDE; | 16 virtual string16 GetAppGuid() OVERRIDE; |
17 | 17 |
18 virtual string16 GetDisplayName() OVERRIDE; | 18 virtual string16 GetDisplayName() OVERRIDE; |
19 | 19 |
20 virtual string16 GetBrowserProgIdPrefix() OVERRIDE; | |
21 | |
grt (UTC plus 2)
2013/09/11 03:52:32
shouldn't GetBrowserProgIdDesc should NOTREACHED,
zturner
2013/09/11 21:16:59
Done.
| |
20 // This can only be called with SHORTCUT_APP_LAUNCHER for |shortcut_type|. | 22 // This can only be called with SHORTCUT_APP_LAUNCHER for |shortcut_type|. |
21 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; | 23 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; |
22 | 24 |
23 virtual string16 GetIconFilename() OVERRIDE; | 25 virtual string16 GetIconFilename() OVERRIDE; |
24 | 26 |
25 virtual string16 GetBaseAppName() OVERRIDE; | 27 virtual string16 GetBaseAppName() OVERRIDE; |
26 | 28 |
27 virtual string16 GetBaseAppId() OVERRIDE; | 29 virtual string16 GetBaseAppId() OVERRIDE; |
28 | 30 |
29 virtual string16 GetInstallSubDir() OVERRIDE; | 31 virtual string16 GetInstallSubDir() OVERRIDE; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 installer::InstallStatus install_status) OVERRIDE; | 64 installer::InstallStatus install_status) OVERRIDE; |
63 | 65 |
64 protected: | 66 protected: |
65 friend class BrowserDistribution; | 67 friend class BrowserDistribution; |
66 | 68 |
67 // Disallow construction from non-friends. | 69 // Disallow construction from non-friends. |
68 ChromeAppHostDistribution(); | 70 ChromeAppHostDistribution(); |
69 }; | 71 }; |
70 | 72 |
71 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ | 73 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
OLD | NEW |