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.
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
11 #include "chrome/installer/util/google_chrome_distribution.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() {
31 return base::string16();
34 base::string16
GoogleChromeDistribution::GetAppGuid() {
36 return base::string16();
39 base::string16
GoogleChromeDistribution::GetBaseAppName() {
41 return base::string16();
44 base::string16
GoogleChromeDistribution::GetShortcutName(
45 ShortcutType shortcut_type
) {
47 return base::string16();
50 int GoogleChromeDistribution::GetIconIndex(ShortcutType shortcut_type
) {
55 base::string16
GoogleChromeDistribution::GetBaseAppId() {
57 return base::string16();
60 base::string16
GoogleChromeDistribution::GetBrowserProgIdPrefix() {
62 return base::string16();
65 base::string16
GoogleChromeDistribution::GetBrowserProgIdDesc() {
67 return base::string16();
70 base::string16
GoogleChromeDistribution::GetInstallSubDir() {
72 return base::string16();
75 base::string16
GoogleChromeDistribution::GetPublisherName() {
77 return base::string16();
80 base::string16
GoogleChromeDistribution::GetAppDescription() {
82 return base::string16();
85 std::string
GoogleChromeDistribution::GetSafeBrowsingName() {
90 base::string16
GoogleChromeDistribution::GetStateKey() {
92 return base::string16();
95 base::string16
GoogleChromeDistribution::GetStateMediumKey() {
97 return base::string16();
100 std::string
GoogleChromeDistribution::GetNetworkStatsServer() const {
102 return std::string();
105 std::string
GoogleChromeDistribution::GetHttpPipeliningTestServer() const {
107 return std::string();
110 base::string16
GoogleChromeDistribution::GetDistributionData(HKEY root_key
) {
112 return base::string16();
115 base::string16
GoogleChromeDistribution::GetUninstallLinkName() {
117 return base::string16();
120 base::string16
GoogleChromeDistribution::GetUninstallRegPath() {
122 return base::string16();
125 base::string16
GoogleChromeDistribution::GetVersionKey() {
127 return base::string16();
130 base::string16
GoogleChromeDistribution::GetIconFilename() {
132 return base::string16();
135 bool GoogleChromeDistribution::GetCommandExecuteImplClsid(
136 base::string16
* handler_class_uuid
) {
141 bool GoogleChromeDistribution::AppHostIsSupported() {
146 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install
,
147 installer::ArchiveType archive_type
,
148 installer::InstallStatus install_status
) {
152 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
157 bool GoogleChromeDistribution::HasUserExperiments() {