summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_chrome_distribution_dummy.cc
blob: b2cafe94b96fdd58a0249435fbfaf08c25bc6c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file defines dummy implementation of several functions from the
// BrowserDistribution class for Google Chrome. These functions allow 64-bit
// Windows Chrome binary to build successfully. Since this binary is only used
// for Native Client support, most of the install/uninstall functionality is not
// necessary there.

#include "chrome/installer/util/google_chrome_distribution.h"

#include <windows.h>

#include "base/logging.h"

GoogleChromeDistribution::GoogleChromeDistribution() {
}

void GoogleChromeDistribution::DoPostUninstallOperations(
    const installer::Version& version,
    const std::wstring& local_data_path,
    const std::wstring& distribution_data) {
}

std::wstring GoogleChromeDistribution::GetAppGuid() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetApplicationName() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetAlternateApplicationName() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetBrowserAppId() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetInstallSubDir() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetPublisherName() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetAppDescription() {
  NOTREACHED();
  return std::wstring();
}

std::string GoogleChromeDistribution::GetSafeBrowsingName() {
  NOTREACHED();
  return std::string();
}

std::wstring GoogleChromeDistribution::GetStateKey() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetStateMediumKey() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetStatsServerURL() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetDistributionData(RegKey* key) {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetUninstallLinkName() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetUninstallRegPath() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetVersionKey() {
  NOTREACHED();
  return std::wstring();
}

std::wstring GoogleChromeDistribution::GetEnvVersionKey() {
  NOTREACHED();
  return std::wstring();
}

void GoogleChromeDistribution::UpdateDiffInstallStatus(bool system_install,
      bool incremental_install, installer_util::InstallStatus install_status) {
  NOTREACHED();
}

void GoogleChromeDistribution::LaunchUserExperiment(
    installer_util::InstallStatus status, const installer::Version& version,
    bool system_install) {
  NOTREACHED();
}

void GoogleChromeDistribution::InactiveUserToastExperiment(
    int flavor,
    bool system_install) {
  NOTREACHED();
}

bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile(
    const std::wstring& file_path, std::wstring* uninstall_metrics_string) {
  NOTREACHED();
  return false;
}

bool GoogleChromeDistribution::ExtractUninstallMetrics(
    const DictionaryValue& root, std::wstring* uninstall_metrics_string) {
  NOTREACHED();
  return false;
}

bool GoogleChromeDistribution::BuildUninstallMetricsString(
    DictionaryValue* uninstall_metrics_dict, std::wstring* metrics) {
  NOTREACHED();
  return false;
}