| 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 bool ChromeAppHostOperations::ShouldLaunchUserExperiment() const { |
| 124 return false; |
| 125 } |
| 126 |
| 123 } // namespace installer | 127 } // namespace installer |
| OLD | NEW |