[Android] Added UMA for search by image context menu.
[chromium-blink-merge.git] / chrome / installer / util / google_chrome_distribution_dummy.cc
blob623870c7ea5f03f027effa9def816436a9a319ec
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 string16& distribution_data) {
29 string16 GoogleChromeDistribution::GetActiveSetupGuid() {
30 NOTREACHED();
31 return string16();
34 string16 GoogleChromeDistribution::GetAppGuid() {
35 NOTREACHED();
36 return string16();
39 string16 GoogleChromeDistribution::GetBaseAppName() {
40 NOTREACHED();
41 return string16();
44 string16 GoogleChromeDistribution::GetAppShortCutName() {
45 NOTREACHED();
46 return string16();
49 string16 GoogleChromeDistribution::GetAlternateApplicationName() {
50 NOTREACHED();
51 return string16();
54 string16 GoogleChromeDistribution::GetBaseAppId() {
55 NOTREACHED();
56 return string16();
59 string16 GoogleChromeDistribution::GetInstallSubDir() {
60 NOTREACHED();
61 return string16();
64 string16 GoogleChromeDistribution::GetPublisherName() {
65 NOTREACHED();
66 return string16();
69 string16 GoogleChromeDistribution::GetAppDescription() {
70 NOTREACHED();
71 return string16();
74 std::string GoogleChromeDistribution::GetSafeBrowsingName() {
75 NOTREACHED();
76 return std::string();
79 string16 GoogleChromeDistribution::GetStateKey() {
80 NOTREACHED();
81 return string16();
84 string16 GoogleChromeDistribution::GetStateMediumKey() {
85 NOTREACHED();
86 return string16();
89 std::string GoogleChromeDistribution::GetNetworkStatsServer() const {
90 NOTREACHED();
91 return std::string();
94 std::string GoogleChromeDistribution::GetHttpPipeliningTestServer() const {
95 NOTREACHED();
96 return std::string();
99 string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
100 NOTREACHED();
101 return string16();
104 string16 GoogleChromeDistribution::GetUninstallLinkName() {
105 NOTREACHED();
106 return string16();
109 string16 GoogleChromeDistribution::GetUninstallRegPath() {
110 NOTREACHED();
111 return string16();
114 string16 GoogleChromeDistribution::GetVersionKey() {
115 NOTREACHED();
116 return string16();
119 string16 GoogleChromeDistribution::GetIconFilename() {
120 NOTREACHED();
121 return string16();
124 bool GoogleChromeDistribution::GetCommandExecuteImplClsid(
125 string16* handler_class_uuid) {
126 NOTREACHED();
127 return false;
130 bool GoogleChromeDistribution::AppHostIsSupported() {
131 NOTREACHED();
132 return false;
135 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install,
136 installer::ArchiveType archive_type,
137 installer::InstallStatus install_status) {
138 NOTREACHED();
141 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
142 NOTREACHED();
143 return false;
146 bool GoogleChromeDistribution::HasUserExperiments() {
147 NOTREACHED();
148 return false;