| 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 implementation of GoogleChromeSxSDistribution. | 5 // This file defines implementation of GoogleChromeSxSDistribution. |
| 6 | 6 |
| 7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" | 7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 return true; | 103 return true; |
| 104 } | 104 } |
| 105 | 105 |
| 106 bool GoogleChromeSxSDistribution::GetCommandExecuteImplClsid( | 106 bool GoogleChromeSxSDistribution::GetCommandExecuteImplClsid( |
| 107 base::string16* handler_class_uuid) { | 107 base::string16* handler_class_uuid) { |
| 108 if (handler_class_uuid) | 108 if (handler_class_uuid) |
| 109 *handler_class_uuid = kCommandExecuteImplUuid; | 109 *handler_class_uuid = kCommandExecuteImplUuid; |
| 110 return true; | 110 return true; |
| 111 } | 111 } |
| 112 | 112 |
| 113 bool GoogleChromeSxSDistribution::AppHostIsSupported() { | |
| 114 return false; | |
| 115 } | |
| 116 | |
| 117 bool GoogleChromeSxSDistribution::ShouldSetExperimentLabels() { | 113 bool GoogleChromeSxSDistribution::ShouldSetExperimentLabels() { |
| 118 return true; | 114 return true; |
| 119 } | 115 } |
| 120 | 116 |
| 121 bool GoogleChromeSxSDistribution::HasUserExperiments() { | 117 bool GoogleChromeSxSDistribution::HasUserExperiments() { |
| 122 return true; | 118 return true; |
| 123 } | 119 } |
| 124 | 120 |
| 125 base::string16 GoogleChromeSxSDistribution::ChannelName() { | 121 base::string16 GoogleChromeSxSDistribution::ChannelName() { |
| 126 return kChannelName; | 122 return kChannelName; |
| 127 } | 123 } |
| OLD | NEW |