google_chrome_distribution_dummy.cc revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
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. 10 11#include "chrome/installer/util/google_chrome_distribution.h" 12 13#include <windows.h> 14 15#include "base/files/file_path.h" 16#include "base/logging.h" 17#include "base/values.h" 18 19GoogleChromeDistribution::GoogleChromeDistribution() 20 : BrowserDistribution(CHROME_BROWSER) { 21} 22 23void GoogleChromeDistribution::DoPostUninstallOperations( 24 const Version& version, 25 const base::FilePath& local_data_path, 26 const string16& distribution_data) { 27} 28 29string16 GoogleChromeDistribution::GetActiveSetupGuid() { 30 NOTREACHED(); 31 return string16(); 32} 33 34string16 GoogleChromeDistribution::GetAppGuid() { 35 NOTREACHED(); 36 return string16(); 37} 38 39string16 GoogleChromeDistribution::GetBaseAppName() { 40 NOTREACHED(); 41 return string16(); 42} 43 44string16 GoogleChromeDistribution::GetAppShortCutName() { 45 NOTREACHED(); 46 return string16(); 47} 48 49string16 GoogleChromeDistribution::GetAlternateApplicationName() { 50 NOTREACHED(); 51 return string16(); 52} 53 54string16 GoogleChromeDistribution::GetBaseAppId() { 55 NOTREACHED(); 56 return string16(); 57} 58 59string16 GoogleChromeDistribution::GetInstallSubDir() { 60 NOTREACHED(); 61 return string16(); 62} 63 64string16 GoogleChromeDistribution::GetPublisherName() { 65 NOTREACHED(); 66 return string16(); 67} 68 69string16 GoogleChromeDistribution::GetAppDescription() { 70 NOTREACHED(); 71 return string16(); 72} 73 74std::string GoogleChromeDistribution::GetSafeBrowsingName() { 75 NOTREACHED(); 76 return std::string(); 77} 78 79string16 GoogleChromeDistribution::GetStateKey() { 80 NOTREACHED(); 81 return string16(); 82} 83 84string16 GoogleChromeDistribution::GetStateMediumKey() { 85 NOTREACHED(); 86 return string16(); 87} 88 89string16 GoogleChromeDistribution::GetStatsServerURL() { 90 NOTREACHED(); 91 return string16(); 92} 93 94std::string GoogleChromeDistribution::GetNetworkStatsServer() const { 95 NOTREACHED(); 96 return std::string(); 97} 98 99std::string GoogleChromeDistribution::GetHttpPipeliningTestServer() const { 100 NOTREACHED(); 101 return std::string(); 102} 103 104string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) { 105 NOTREACHED(); 106 return string16(); 107} 108 109string16 GoogleChromeDistribution::GetUninstallLinkName() { 110 NOTREACHED(); 111 return string16(); 112} 113 114string16 GoogleChromeDistribution::GetUninstallRegPath() { 115 NOTREACHED(); 116 return string16(); 117} 118 119string16 GoogleChromeDistribution::GetVersionKey() { 120 NOTREACHED(); 121 return string16(); 122} 123 124string16 GoogleChromeDistribution::GetIconFilename() { 125 NOTREACHED(); 126 return string16(); 127} 128 129bool GoogleChromeDistribution::GetCommandExecuteImplClsid( 130 string16* handler_class_uuid) { 131 NOTREACHED(); 132 return false; 133} 134 135bool GoogleChromeDistribution::AppHostIsSupported() { 136 NOTREACHED(); 137 return false; 138} 139 140void GoogleChromeDistribution::UpdateInstallStatus(bool system_install, 141 installer::ArchiveType archive_type, 142 installer::InstallStatus install_status) { 143 NOTREACHED(); 144} 145 146bool GoogleChromeDistribution::ShouldSetExperimentLabels() { 147 NOTREACHED(); 148 return false; 149} 150 151bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile( 152 const base::FilePath& file_path, string16* uninstall_metrics_string) { 153 NOTREACHED(); 154 return false; 155} 156 157bool GoogleChromeDistribution::ExtractUninstallMetrics( 158 const DictionaryValue& root, string16* uninstall_metrics_string) { 159 NOTREACHED(); 160 return false; 161} 162 163bool GoogleChromeDistribution::BuildUninstallMetricsString( 164 const DictionaryValue* uninstall_metrics_dict, string16* metrics) { 165 NOTREACHED(); 166 return false; 167} 168 169bool GoogleChromeDistribution::HasUserExperiments() { 170 NOTREACHED(); 171 return false; 172} 173