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

Unified Diff: components/browser_watcher/watcher_main_api_win.h

Issue 717223002: Browser watcher end-end-to-end . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/lkgr
Patch Set: Address Erik's comments. Created 6 years, 1 month 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: 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_
« no previous file with comments | « components/browser_watcher/watcher_client_win_unittest.cc ('k') | components/browser_watcher/watcher_main_api_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698