summaryrefslogtreecommitdiffstats
path: root/chrome/app/client_util.h
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 23:58:10 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 23:58:10 +0000
commit4522cfd1ec9feba623eee66116e2aeda4081198e (patch)
tree9edf7953640b0cc016eee15602d451f124915161 /chrome/app/client_util.h
parent5daa269e3d3c10e9169f7c4ec23cc218f3ea5347 (diff)
downloadchromium_src-4522cfd1ec9feba623eee66116e2aeda4081198e.zip
chromium_src-4522cfd1ec9feba623eee66116e2aeda4081198e.tar.gz
chromium_src-4522cfd1ec9feba623eee66116e2aeda4081198e.tar.bz2
Initialize Breakpad for Chromium as well.
BU=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1572 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/client_util.h')
-rw-r--r--chrome/app/client_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/app/client_util.h b/chrome/app/client_util.h
index 6616ac9..e4b479e 100644
--- a/chrome/app/client_util.h
+++ b/chrome/app/client_util.h
@@ -10,6 +10,8 @@
#include <windows.h>
+#include <string>
+
#include "sandbox/src/sandbox_factory.h"
namespace client_util {
@@ -28,6 +30,12 @@ bool GetChromiumVersion(const wchar_t* const exe_path,
const wchar_t* const reg_key_path,
wchar_t** version);
+// Get path to DLL specified by dll_name. If dll_path is specified and it
+// exists we assume DLL is in that directory and return that. Else we search
+// for that DLL by calling Windows API.
+std::wstring GetDLLPath(const std::wstring dll_name,
+ const std::wstring dll_path);
+
// Returns the path to the exe (without the file name) that called this
// function. The buffer should already be allocated (ideally of MAX_PATH size).
void GetExecutablePath(wchar_t* exe_path);