OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_path.h" | 15 #include "base/file_path.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/values.h" |
17 | 18 |
18 GoogleChromeDistribution::GoogleChromeDistribution() | 19 GoogleChromeDistribution::GoogleChromeDistribution() |
19 : BrowserDistribution(CHROME_BROWSER) { | 20 : BrowserDistribution(CHROME_BROWSER) { |
20 } | 21 } |
21 | 22 |
22 void GoogleChromeDistribution::DoPostUninstallOperations( | 23 void GoogleChromeDistribution::DoPostUninstallOperations( |
23 const Version& version, | 24 const Version& version, |
24 const FilePath& local_data_path, | 25 const FilePath& local_data_path, |
25 const std::wstring& distribution_data) { | 26 const std::wstring& distribution_data) { |
26 } | 27 } |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 const DictionaryValue& root, std::wstring* uninstall_metrics_string) { | 142 const DictionaryValue& root, std::wstring* uninstall_metrics_string) { |
142 NOTREACHED(); | 143 NOTREACHED(); |
143 return false; | 144 return false; |
144 } | 145 } |
145 | 146 |
146 bool GoogleChromeDistribution::BuildUninstallMetricsString( | 147 bool GoogleChromeDistribution::BuildUninstallMetricsString( |
147 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics) { | 148 DictionaryValue* uninstall_metrics_dict, std::wstring* metrics) { |
148 NOTREACHED(); | 149 NOTREACHED(); |
149 return false; | 150 return false; |
150 } | 151 } |
OLD | NEW |