Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / installer / util / google_chrome_distribution_dummy.cc
blob84293076be5a2347286f2dcc6358f86ded55d415
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
3 // found in the LICENSE file.
4 //
5 // This file defines dummy implementation of several functions from the
6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit
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
9 // necessary there.
11 #include "chrome/installer/util/google_chrome_distribution.h"
13 #include <windows.h>
15 #include "base/files/file_path.h"
16 #include "base/logging.h"
17 #include "base/values.h"
19 GoogleChromeDistribution::GoogleChromeDistribution()
20 : BrowserDistribution(CHROME_BROWSER) {
23 void GoogleChromeDistribution::DoPostUninstallOperations(
24 const Version& version,
25 const base::FilePath& local_data_path,
26 const base::string16& distribution_data) {
29 base::string16 GoogleChromeDistribution::GetActiveSetupGuid() {
30 NOTREACHED();
31 return base::string16();
34 base::string16 GoogleChromeDistribution::GetAppGuid() {
35 NOTREACHED();
36 return base::string16();
39 base::string16 GoogleChromeDistribution::GetBaseAppName() {
40 NOTREACHED();
41 return base::string16();
44 base::string16 GoogleChromeDistribution::GetShortcutName(
45 ShortcutType shortcut_type) {
46 NOTREACHED();
47 return base::string16();
50 int GoogleChromeDistribution::GetIconIndex(ShortcutType shortcut_type) {
51 NOTREACHED();
52 return 0;
55 base::string16 GoogleChromeDistribution::GetBaseAppId() {
56 NOTREACHED();
57 return base::string16();
60 base::string16 GoogleChromeDistribution::GetBrowserProgIdPrefix() {
61 NOTREACHED();
62 return base::string16();
65 base::string16 GoogleChromeDistribution::GetBrowserProgIdDesc() {
66 NOTREACHED();
67 return base::string16();
70 base::string16 GoogleChromeDistribution::GetInstallSubDir() {
71 NOTREACHED();
72 return base::string16();
75 base::string16 GoogleChromeDistribution::GetPublisherName() {
76 NOTREACHED();
77 return base::string16();
80 base::string16 GoogleChromeDistribution::GetAppDescription() {
81 NOTREACHED();
82 return base::string16();
85 std::string GoogleChromeDistribution::GetSafeBrowsingName() {
86 NOTREACHED();
87 return std::string();
90 base::string16 GoogleChromeDistribution::GetStateKey() {
91 NOTREACHED();
92 return base::string16();
95 base::string16 GoogleChromeDistribution::GetStateMediumKey() {
96 NOTREACHED();
97 return base::string16();
100 std::string GoogleChromeDistribution::GetNetworkStatsServer() const {
101 NOTREACHED();
102 return std::string();
105 std::string GoogleChromeDistribution::GetHttpPipeliningTestServer() const {
106 NOTREACHED();
107 return std::string();
110 base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
111 NOTREACHED();
112 return base::string16();
115 base::string16 GoogleChromeDistribution::GetUninstallLinkName() {
116 NOTREACHED();
117 return base::string16();
120 base::string16 GoogleChromeDistribution::GetUninstallRegPath() {
121 NOTREACHED();
122 return base::string16();
125 base::string16 GoogleChromeDistribution::GetVersionKey() {
126 NOTREACHED();
127 return base::string16();
130 base::string16 GoogleChromeDistribution::GetIconFilename() {
131 NOTREACHED();
132 return base::string16();
135 bool GoogleChromeDistribution::GetCommandExecuteImplClsid(
136 base::string16* handler_class_uuid) {
137 NOTREACHED();
138 return false;
141 bool GoogleChromeDistribution::AppHostIsSupported() {
142 NOTREACHED();
143 return false;
146 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install,
147 installer::ArchiveType archive_type,
148 installer::InstallStatus install_status) {
149 NOTREACHED();
152 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
153 NOTREACHED();
154 return false;
157 bool GoogleChromeDistribution::HasUserExperiments() {
158 NOTREACHED();
159 return false;