OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_ELF_CHROME_ELF_UTIL_H_ |
| 6 #define CHROME_ELF_CHROME_ELF_UTIL_H_ |
| 7 |
| 8 #include <windows.h> |
| 9 |
| 10 // Returns true if |exe_path| points to a Chrome installed in a SxS |
| 11 // installation. |
| 12 bool IsCanary(wchar_t* exe_path); |
| 13 |
| 14 // Returns true if |exe_path| points to a per-user level Chrome installation. |
| 15 bool IsSystemInstall(wchar_t* exe_path); |
| 16 |
| 17 // Returns true if |exe_path| points to a multi-install of Chrome. |
| 18 bool IsMultiInstall(wchar_t* exe_path); |
| 19 |
| 20 bool AreUsageStatsEnabled(); |
| 21 |
| 22 #endif // CHROME_ELF_CHROME_ELF_UTIL_H_ |
OLD | NEW |