OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/install_static/product_install_details.h" | 5 #include "chrome/install_static/product_install_details.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <assert.h> | 8 #include <assert.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 | 11 |
| 12 #include "chrome/install_static/install_details.h" |
12 #include "chrome/install_static/install_modes.h" | 13 #include "chrome/install_static/install_modes.h" |
13 #include "chrome/install_static/install_util.h" | 14 #include "chrome/install_static/install_util.h" |
14 #include "chrome_elf/nt_registry/nt_registry.h" | 15 #include "chrome_elf/nt_registry/nt_registry.h" |
15 | 16 |
16 namespace install_static { | 17 namespace install_static { |
17 | 18 |
18 namespace { | 19 namespace { |
19 | 20 |
20 // Returns the executable path for the current process. | 21 // Returns the executable path for the current process. |
21 std::wstring GetCurrentProcessExePath() { | 22 std::wstring GetCurrentProcessExePath() { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 140 |
140 details->set_mode(mode); | 141 details->set_mode(mode); |
141 details->set_system_level(system_level); | 142 details->set_system_level(system_level); |
142 details->set_multi_install(multi_install); | 143 details->set_multi_install(multi_install); |
143 details->set_channel(DetermineChannel(*mode, system_level, multi_install)); | 144 details->set_channel(DetermineChannel(*mode, system_level, multi_install)); |
144 | 145 |
145 return details; | 146 return details; |
146 } | 147 } |
147 | 148 |
148 } // namespace install_static | 149 } // namespace install_static |
OLD | NEW |