| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 | 18 |
| 19 GoogleChromeDistribution::GoogleChromeDistribution() | 19 GoogleChromeDistribution::GoogleChromeDistribution() |
| 20 : BrowserDistribution(CHROME_BROWSER) { | 20 : BrowserDistribution(CHROME_BROWSER) { |
| 21 } | 21 } |
| 22 | 22 |
| 23 void GoogleChromeDistribution::DoPostUninstallOperations( | 23 void GoogleChromeDistribution::DoPostUninstallOperations( |
| 24 const Version& version, | 24 const base::Version& version, |
| 25 const base::FilePath& local_data_path, | 25 const base::FilePath& local_data_path, |
| 26 const base::string16& distribution_data) { | 26 const base::string16& distribution_data) { |
| 27 } | 27 } |
| 28 | 28 |
| 29 base::string16 GoogleChromeDistribution::GetActiveSetupGuid() { | 29 base::string16 GoogleChromeDistribution::GetActiveSetupGuid() { |
| 30 NOTREACHED(); | 30 NOTREACHED(); |
| 31 return base::string16(); | 31 return base::string16(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 base::string16 GoogleChromeDistribution::GetAppGuid() { | 34 base::string16 GoogleChromeDistribution::GetAppGuid() { |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { | 152 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { |
| 153 NOTREACHED(); | 153 NOTREACHED(); |
| 154 return false; | 154 return false; |
| 155 } | 155 } |
| 156 | 156 |
| 157 bool GoogleChromeDistribution::HasUserExperiments() { | 157 bool GoogleChromeDistribution::HasUserExperiments() { |
| 158 NOTREACHED(); | 158 NOTREACHED(); |
| 159 return false; | 159 return false; |
| 160 } | 160 } |
| OLD | NEW |