Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: chrome/installer/util/google_chrome_distribution_dummy.cc

Issue 5756007: Revert 69165 - Merge the installer, installer_util and setup_util namespaces ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file defines dummy implementation of several functions from the 5 // This file defines dummy implementation of several functions from the
6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit 6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit
7 // Windows Chrome binary to build successfully. Since this binary is only used 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 8 // for Native Client support, most of the install/uninstall functionality is not
9 // necessary there. 9 // necessary there.
10 10
11 #include "chrome/installer/util/google_chrome_distribution.h" 11 #include "chrome/installer/util/google_chrome_distribution.h"
12 12
13 #include <windows.h> 13 #include <windows.h>
14 14
15 #include "base/logging.h" 15 #include "base/logging.h"
16 16
17 GoogleChromeDistribution::GoogleChromeDistribution( 17 GoogleChromeDistribution::GoogleChromeDistribution(
18 const installer::MasterPreferences& prefs) 18 const installer_util::MasterPreferences& prefs)
19 : BrowserDistribution(prefs) { 19 : BrowserDistribution(prefs) {
20 } 20 }
21 21
22 void GoogleChromeDistribution::DoPostUninstallOperations( 22 void GoogleChromeDistribution::DoPostUninstallOperations(
23 const installer::Version& version, 23 const installer::Version& version,
24 const FilePath& local_data_path, 24 const FilePath& local_data_path,
25 const std::wstring& distribution_data) { 25 const std::wstring& distribution_data) {
26 } 26 }
27 27
28 std::wstring GoogleChromeDistribution::GetAppGuid() { 28 std::wstring GoogleChromeDistribution::GetAppGuid() {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 NOTREACHED(); 94 NOTREACHED();
95 return std::wstring(); 95 return std::wstring();
96 } 96 }
97 97
98 std::wstring GoogleChromeDistribution::GetVersionKey() { 98 std::wstring GoogleChromeDistribution::GetVersionKey() {
99 NOTREACHED(); 99 NOTREACHED();
100 return std::wstring(); 100 return std::wstring();
101 } 101 }
102 102
103 void GoogleChromeDistribution::UpdateDiffInstallStatus(bool system_install, 103 void GoogleChromeDistribution::UpdateDiffInstallStatus(bool system_install,
104 bool incremental_install, installer::InstallStatus install_status) { 104 bool incremental_install, installer_util::InstallStatus install_status) {
105 NOTREACHED(); 105 NOTREACHED();
106 } 106 }
107 107
108 void GoogleChromeDistribution::LaunchUserExperiment( 108 void GoogleChromeDistribution::LaunchUserExperiment(
109 installer::InstallStatus status, const installer::Version& version, 109 installer_util::InstallStatus status, const installer::Version& version,
110 const installer::Product& installation, bool system_level) { 110 const installer::Product& installation, bool system_level) {
111 NOTREACHED(); 111 NOTREACHED();
112 } 112 }
113 113
114 void GoogleChromeDistribution::InactiveUserToastExperiment(int flavor, 114 void GoogleChromeDistribution::InactiveUserToastExperiment(int flavor,
115 const installer::Product& installation) { 115 const installer::Product& installation) {
116 NOTREACHED(); 116 NOTREACHED();
117 } 117 }
118 118
119 bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile( 119 bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile(
120 const std::wstring& file_path, std::wstring* uninstall_metrics_string) { 120 const std::wstring& file_path, std::wstring* uninstall_metrics_string) {
121 NOTREACHED(); 121 NOTREACHED();
122 return false; 122 return false;
123 } 123 }
124 124
125 bool GoogleChromeDistribution::ExtractUninstallMetrics( 125 bool GoogleChromeDistribution::ExtractUninstallMetrics(
126 const DictionaryValue& root, std::wstring* uninstall_metrics_string) { 126 const DictionaryValue& root, std::wstring* uninstall_metrics_string) {
127 NOTREACHED(); 127 NOTREACHED();
128 return false; 128 return false;
129 } 129 }
130 130
131 bool GoogleChromeDistribution::BuildUninstallMetricsString( 131 bool GoogleChromeDistribution::BuildUninstallMetricsString(
132 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics) { 132 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics) {
133 NOTREACHED(); 133 NOTREACHED();
134 return false; 134 return false;
135 } 135 }
136 136
OLDNEW
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.cc ('k') | chrome/installer/util/google_chrome_distribution_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698