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 #include "chrome/installer/util/chrome_app_host_operations.h" | 5 #include "chrome/installer/util/chrome_app_host_operations.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 if (!properties->has_icon()) | 113 if (!properties->has_icon()) |
114 properties->set_icon(target_exe, dist->GetIconIndex()); | 114 properties->set_icon(target_exe, dist->GetIconIndex()); |
115 | 115 |
116 if (!properties->has_app_id()) { | 116 if (!properties->has_app_id()) { |
117 std::vector<string16> components; | 117 std::vector<string16> components; |
118 components.push_back(dist->GetBaseAppId()); | 118 components.push_back(dist->GetBaseAppId()); |
119 properties->set_app_id(ShellUtil::BuildAppModelId(components)); | 119 properties->set_app_id(ShellUtil::BuildAppModelId(components)); |
120 } | 120 } |
121 } | 121 } |
122 | 122 |
| 123 void ChromeAppHostOperations::LaunchUserExperiment( |
| 124 const base::FilePath& setup_path, |
| 125 const std::set<std::wstring>& options, |
| 126 InstallStatus status, |
| 127 bool system_level) const { |
| 128 // No experiments yet. If adding some in the future, need to have |
| 129 // ChromeAppHostDistribution::HasUserExperiments() return true. |
| 130 NOTREACHED(); |
| 131 } |
| 132 |
123 } // namespace installer | 133 } // namespace installer |
OLD | NEW |