blob: ad63b6685f88159044d078980d4c664b7ebc3110 (
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
|
// Copyright (c) 2012 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/files/file_path.h"
#include "base/logging.h"
#include "base/values.h"
#include "chrome/installer/util/app_registration_data.h"
#include "chrome/installer/util/non_updating_app_registration_data.h"
GoogleChromeDistribution::GoogleChromeDistribution()
: BrowserDistribution(
CHROME_BROWSER,
scoped_ptr<AppRegistrationData>(
new NonUpdatingAppRegistrationData(base::string16()))) {
}
GoogleChromeDistribution::GoogleChromeDistribution(
scoped_ptr<AppRegistrationData> app_reg_data)
: BrowserDistribution(CHROME_BROWSER, app_reg_data.Pass()) {
}
void GoogleChromeDistribution::DoPostUninstallOperations(
const Version& version,
const base::FilePath& local_data_path,
const base::string16& distribution_data) {
}
base::string16 GoogleChromeDistribution::GetActiveSetupGuid() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetBaseAppName() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetShortcutName(
ShortcutType shortcut_type) {
return base::string16();
}
int GoogleChromeDistribution::GetIconIndex(ShortcutType shortcut_type) {
return 0;
}
base::string16 GoogleChromeDistribution::GetBaseAppId() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetBrowserProgIdPrefix() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetBrowserProgIdDesc() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetInstallSubDir() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetPublisherName() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetAppDescription() {
return base::string16();
}
std::string GoogleChromeDistribution::GetSafeBrowsingName() {
return std::string();
}
base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetUninstallLinkName() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetUninstallRegPath() {
return base::string16();
}
base::string16 GoogleChromeDistribution::GetIconFilename() {
return base::string16();
}
bool GoogleChromeDistribution::GetCommandExecuteImplClsid(
base::string16* handler_class_uuid) {
return false;
}
void GoogleChromeDistribution::UpdateInstallStatus(bool system_install,
installer::ArchiveType archive_type,
installer::InstallStatus install_status) {
}
bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
return false;
}
bool GoogleChromeDistribution::HasUserExperiments() {
return false;
}
|