Index: chrome_elf/chrome_elf_util.h |
diff --git a/chrome_elf/chrome_elf_util.h b/chrome_elf/chrome_elf_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d34f1f12e5a8bbaaa919ff23816da277d550413 |
--- /dev/null |
+++ b/chrome_elf/chrome_elf_util.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_ELF_CHROME_ELF_UTIL_H_ |
+#define CHROME_ELF_CHROME_ELF_UTIL_H_ |
+ |
+#include <windows.h> |
+ |
+// Returns true if |exe_path| points to a Chrome installed in a SxS |
+// installation. |
+bool IsCanary(LPWSTR exe_path); |
robertshield
2014/02/11 22:26:58
use "const wchar_t*" here and below instead.
Cait (Slow)
2014/02/12 19:15:41
Done.
|
+ |
+// Returns true if |exe_path| points to a per-user level Chrome installation. |
+bool IsSystemInstall(LPWSTR exe_path); |
+ |
+// Returns true if |exe_path| points to a multi-install of Chrome. |
+bool IsMultiInstall(LPWSTR exe_path); |
+ |
+bool AreUsageStatsEnabled(); |
+ |
+#endif // CHROME_ELF_CHROME_ELF_UTIL_H_ |