Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3834)

Unified Diff: chrome_elf/chrome_elf_util.h

Issue 154653002: Breakpad coverage for chrome_elf start up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use Environment Vars to get program dir Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..3ef3505a8a839fb7910d2b845ef9ec4e1d9dd532
--- /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>
grt (UTC plus 2) 2014/02/13 03:58:26 unneeded
Cait (Slow) 2014/02/14 01:17:02 Done.
+
+// Returns true if |exe_path| points to a Chrome installed in a SxS
+// installation.
+bool IsCanary(wchar_t* exe_path);
+
+// Returns true if |exe_path| points to a per-user level Chrome installation.
+bool IsSystemInstall(wchar_t* exe_path);
+
+// Returns true if |exe_path| points to a multi-install of Chrome.
+bool IsMultiInstall(wchar_t* exe_path);
+
+bool AreUsageStatsEnabled();
+
+#endif // CHROME_ELF_CHROME_ELF_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698