Chromium Code Reviews| Index: components/browser_watcher/watcher_main_win.h |
| diff --git a/components/browser_watcher/watcher_main_win.h b/components/browser_watcher/watcher_main_win.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c1d2cbe09b611d90875d38e7a79d99bab877384f |
| --- /dev/null |
| +++ b/components/browser_watcher/watcher_main_win.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
|
erikwright (departed)
2014/11/14 19:46:09
I would rename this file to watcher_main_api_win o
Sigurður Ásgeirsson
2014/11/17 15:26:58
Done.
|
| +// 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_WIN_H_ |
| +#define COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_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_WIN_H_ |