Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: chrome/installer/util/google_chrome_distribution_dummy.cc

Issue 15255004: Refactor of BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rework Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 defines dummy implementation of several functions from the 5 // This file defines dummy implementation of several functions from the
6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit 6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit
7 // Windows Chrome binary to build successfully. Since this binary is only used 7 // Windows Chrome binary to build successfully. Since this binary is only used
8 // for Native Client support, most of the install/uninstall functionality is not 8 // for Native Client support, most of the install/uninstall functionality is not
9 // necessary there. 9 // necessary there.
10 10
(...skipping 18 matching lines...) Expand all
29 string16 GoogleChromeDistribution::GetActiveSetupGuid() { 29 string16 GoogleChromeDistribution::GetActiveSetupGuid() {
30 NOTREACHED(); 30 NOTREACHED();
31 return string16(); 31 return string16();
32 } 32 }
33 33
34 string16 GoogleChromeDistribution::GetAppGuid() { 34 string16 GoogleChromeDistribution::GetAppGuid() {
35 NOTREACHED(); 35 NOTREACHED();
36 return string16(); 36 return string16();
37 } 37 }
38 38
39 BrowserDistribution::ShortcutInfo GoogleChromeDistribution::GetShortcutInfo(
40 ShortcutEnum shortcut_enum) {
41 NOTREACHED();
42 return ShortcutInfo();
43 }
44
39 string16 GoogleChromeDistribution::GetBaseAppName() { 45 string16 GoogleChromeDistribution::GetBaseAppName() {
40 NOTREACHED(); 46 NOTREACHED();
41 return string16(); 47 return string16();
42 } 48 }
43
44 string16 GoogleChromeDistribution::GetAppShortCutName() {
45 NOTREACHED();
46 return string16();
47 }
48
49 string16 GoogleChromeDistribution::GetAlternateApplicationName() {
50 NOTREACHED();
51 return string16();
52 }
53 49
54 string16 GoogleChromeDistribution::GetBaseAppId() { 50 string16 GoogleChromeDistribution::GetBaseAppId() {
55 NOTREACHED(); 51 NOTREACHED();
56 return string16(); 52 return string16();
57 } 53 }
58 54
59 string16 GoogleChromeDistribution::GetInstallSubDir() { 55 string16 GoogleChromeDistribution::GetInstallSubDir() {
60 NOTREACHED(); 56 NOTREACHED();
61 return string16(); 57 return string16();
62 } 58 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 string16 GoogleChromeDistribution::GetUninstallRegPath() { 105 string16 GoogleChromeDistribution::GetUninstallRegPath() {
110 NOTREACHED(); 106 NOTREACHED();
111 return string16(); 107 return string16();
112 } 108 }
113 109
114 string16 GoogleChromeDistribution::GetVersionKey() { 110 string16 GoogleChromeDistribution::GetVersionKey() {
115 NOTREACHED(); 111 NOTREACHED();
116 return string16(); 112 return string16();
117 } 113 }
118 114
119 string16 GoogleChromeDistribution::GetIconFilename() {
120 NOTREACHED();
121 return string16();
122 }
123
124 bool GoogleChromeDistribution::GetCommandExecuteImplClsid( 115 bool GoogleChromeDistribution::GetCommandExecuteImplClsid(
125 string16* handler_class_uuid) { 116 string16* handler_class_uuid) {
126 NOTREACHED(); 117 NOTREACHED();
127 return false; 118 return false;
128 } 119 }
129 120
130 bool GoogleChromeDistribution::AppHostIsSupported() { 121 bool GoogleChromeDistribution::AppHostIsSupported() {
131 NOTREACHED(); 122 NOTREACHED();
132 return false; 123 return false;
133 } 124 }
134 125
135 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install, 126 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install,
136 installer::ArchiveType archive_type, 127 installer::ArchiveType archive_type,
137 installer::InstallStatus install_status) { 128 installer::InstallStatus install_status) {
138 NOTREACHED(); 129 NOTREACHED();
139 } 130 }
140 131
141 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { 132 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
142 NOTREACHED(); 133 NOTREACHED();
143 return false; 134 return false;
144 } 135 }
145 136
146 bool GoogleChromeDistribution::HasUserExperiments() { 137 bool GoogleChromeDistribution::HasUserExperiments() {
147 NOTREACHED(); 138 NOTREACHED();
148 return false; 139 return false;
149 } 140 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698