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..4763c82079624beac1ac0f6ffd6410052f7d8aae |
--- /dev/null |
+++ b/chrome_elf/chrome_elf_util.h |
@@ -0,0 +1,24 @@ |
+// 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 "base/strings/string16.h" |
+ |
+// Returns true if |exe_path| points to a Chrome installed in an SxS |
+// installation. |
+bool IsCanary(const wchar_t* exe_path); |
+ |
+// Returns true if |exe_path| points to a per-user level Chrome installation. |
+bool IsSystemInstall(const wchar_t* exe_path); |
+ |
+// Returns true if current installation of Chrome is a multi-install. |
+bool IsMultiInstall(bool is_system_install); |
+ |
+bool AreUsageStatsEnabled(const wchar_t* exe_path); |
grt (UTC plus 2)
2014/02/14 16:37:33
docuemnt
Cait (Slow)
2014/02/14 23:12:04
Done.
|
+ |
+bool GetUserSidString(base::string16* user_sid); |
grt (UTC plus 2)
2014/02/14 16:37:33
document (and make it return the base::string16)
Cait (Slow)
2014/02/14 23:12:04
Moved into breakpad.cc anonymous namespace.
|
+ |
+#endif // CHROME_ELF_CHROME_ELF_UTIL_H_ |