Index: components/browser_watcher/watcher_main_api_win.h |
diff --git a/components/browser_watcher/watcher_main_api_win.h b/components/browser_watcher/watcher_main_api_win.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f18814112179706803d2dd9d5c231503b60e46ea |
--- /dev/null |
+++ b/components/browser_watcher/watcher_main_api_win.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 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 COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_ |
+#define COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_ |
+ |
+#include "base/files/file_path.h" |
+ |
+namespace browser_watcher { |
+ |
+// The name of the watcher DLL. |
+extern const base::FilePath::CharType kWatcherDll[]; |
+// The name of the watcher DLLs entrypoint function. |
+extern const char kWatcherDLLEntrypoint[]; |
+ |
+// The type of the watcher DLL's main entry point. |
+// The |registry_path| parameter is the path under HKCU where the exit |
+// codes will be written. |
+typedef int (*WatcherMainFunction)(const wchar_t* registry_path); |
+ |
+} // namespace browser_watcher |
+ |
+#endif // COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_ |