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 declares a class that contains various method related to branding. | 5 // This file declares a class that contains various method related to branding. |
6 | 6 |
7 #include "chrome/installer/util/google_chrome_binaries_distribution.h" | 7 #include "chrome/installer/util/google_chrome_binaries_distribution.h" |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 | 22 |
23 string16 ChromiumBinariesDistribution::GetAppGuid() { | 23 string16 ChromiumBinariesDistribution::GetAppGuid() { |
24 return string16(); | 24 return string16(); |
25 } | 25 } |
26 | 26 |
27 string16 ChromiumBinariesDistribution::GetBaseAppName() { | 27 string16 ChromiumBinariesDistribution::GetBaseAppName() { |
28 NOTREACHED(); | 28 NOTREACHED(); |
29 return string16(); | 29 return string16(); |
30 } | 30 } |
31 | 31 |
32 string16 ChromiumBinariesDistribution::GetAppShortCutName() { | 32 BrowserDistribution::ShortcutInfo ChromiumBinariesDistribution::GetShortcutInfo( |
gab
2013/05/24 15:01:35
The binaries shouldn't need GetShortcutInfo; if th
calamity
2013/05/31 00:11:18
Done.
| |
33 return kChromiumBinariesName; | 33 ShortcutEnum shortcut_enum) { |
34 } | 34 ShortcutInfo info; |
35 | 35 switch (shortcut_enum) { |
36 string16 ChromiumBinariesDistribution::GetAlternateApplicationName() { | 36 case SHORTCUT_CHROME: |
37 NOTREACHED(); | 37 info.name = kChromiumBinariesName; |
38 return string16(); | 38 info.icon_index = 0; |
39 break; | |
40 default: | |
41 NOTREACHED(); | |
42 return ShortcutInfo(); | |
43 } | |
44 return info; | |
39 } | 45 } |
40 | 46 |
41 string16 ChromiumBinariesDistribution::GetBaseAppId() { | 47 string16 ChromiumBinariesDistribution::GetBaseAppId() { |
42 NOTREACHED(); | 48 NOTREACHED(); |
43 return string16(); | 49 return string16(); |
44 } | 50 } |
45 | 51 |
46 string16 ChromiumBinariesDistribution::GetInstallSubDir() { | 52 string16 ChromiumBinariesDistribution::GetInstallSubDir() { |
47 return browser_distribution_->GetInstallSubDir(); | 53 return browser_distribution_->GetInstallSubDir(); |
48 } | 54 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 } | 92 } |
87 | 93 |
88 string16 ChromiumBinariesDistribution::GetVersionKey() { | 94 string16 ChromiumBinariesDistribution::GetVersionKey() { |
89 return string16(L"Software\\").append(kChromiumBinariesName); | 95 return string16(L"Software\\").append(kChromiumBinariesName); |
90 } | 96 } |
91 | 97 |
92 bool ChromiumBinariesDistribution::CanSetAsDefault() { | 98 bool ChromiumBinariesDistribution::CanSetAsDefault() { |
93 return false; | 99 return false; |
94 } | 100 } |
95 | 101 |
96 int ChromiumBinariesDistribution::GetIconIndex() { | |
97 NOTREACHED(); | |
98 return 0; | |
99 } | |
100 | |
101 bool ChromiumBinariesDistribution::GetChromeChannel(string16* channel) { | 102 bool ChromiumBinariesDistribution::GetChromeChannel(string16* channel) { |
102 NOTREACHED(); | 103 NOTREACHED(); |
103 return false; | 104 return false; |
104 } | 105 } |
105 | 106 |
106 bool ChromiumBinariesDistribution::GetCommandExecuteImplClsid( | 107 bool ChromiumBinariesDistribution::GetCommandExecuteImplClsid( |
107 string16* handler_class_uuid) { | 108 string16* handler_class_uuid) { |
108 return false; | 109 return false; |
109 } | 110 } |
OLD | NEW |