Remove obsolete for_web_contents parameter in FontRenderParamsQuery.
[chromium-blink-merge.git] / chrome / installer / util / google_chrome_distribution_dummy.cc
blob126eeff919bd08f5a999fb323064b3d80bc3592f
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"
18 #include "chrome/installer/util/app_registration_data.h"
19 #include "chrome/installer/util/non_updating_app_registration_data.h"
21 GoogleChromeDistribution::GoogleChromeDistribution()
22 : BrowserDistribution(
23 CHROME_BROWSER,
24 scoped_ptr<AppRegistrationData>(
25 new NonUpdatingAppRegistrationData(base::string16()))) {
28 GoogleChromeDistribution::GoogleChromeDistribution(
29 scoped_ptr<AppRegistrationData> app_reg_data)
30 : BrowserDistribution(CHROME_BROWSER, app_reg_data.Pass()) {
33 void GoogleChromeDistribution::DoPostUninstallOperations(
34 const Version& version,
35 const base::FilePath& local_data_path,
36 const base::string16& distribution_data) {
39 base::string16 GoogleChromeDistribution::GetActiveSetupGuid() {
40 return base::string16();
43 base::string16 GoogleChromeDistribution::GetBaseAppName() {
44 return base::string16();
47 base::string16 GoogleChromeDistribution::GetShortcutName(
48 ShortcutType shortcut_type) {
49 return base::string16();
52 int GoogleChromeDistribution::GetIconIndex(ShortcutType shortcut_type) {
53 return 0;
56 base::string16 GoogleChromeDistribution::GetBaseAppId() {
57 return base::string16();
60 base::string16 GoogleChromeDistribution::GetBrowserProgIdPrefix() {
61 return base::string16();
64 base::string16 GoogleChromeDistribution::GetBrowserProgIdDesc() {
65 return base::string16();
68 base::string16 GoogleChromeDistribution::GetInstallSubDir() {
69 return base::string16();
72 base::string16 GoogleChromeDistribution::GetPublisherName() {
73 return base::string16();
76 base::string16 GoogleChromeDistribution::GetAppDescription() {
77 return base::string16();
80 std::string GoogleChromeDistribution::GetSafeBrowsingName() {
81 return std::string();
84 std::string GoogleChromeDistribution::GetNetworkStatsServer() const {
85 return std::string();
88 base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) {
89 return base::string16();
92 base::string16 GoogleChromeDistribution::GetUninstallLinkName() {
93 return base::string16();
96 base::string16 GoogleChromeDistribution::GetUninstallRegPath() {
97 return base::string16();
100 base::string16 GoogleChromeDistribution::GetIconFilename() {
101 return base::string16();
104 bool GoogleChromeDistribution::GetCommandExecuteImplClsid(
105 base::string16* handler_class_uuid) {
106 return false;
109 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install,
110 installer::ArchiveType archive_type,
111 installer::InstallStatus install_status) {
114 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
115 return false;
118 bool GoogleChromeDistribution::HasUserExperiments() {
119 return false;