OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_ |
| 6 #define COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_ |
| 7 |
| 8 #include "base/files/file_path.h" |
| 9 |
| 10 namespace browser_watcher { |
| 11 |
| 12 // The name of the watcher DLL. |
| 13 extern const base::FilePath::CharType kWatcherDll[]; |
| 14 // The name of the watcher DLLs entrypoint function. |
| 15 extern const char kWatcherDLLEntrypoint[]; |
| 16 |
| 17 // The type of the watcher DLL's main entry point. |
| 18 // The |registry_path| parameter is the path under HKCU where the exit |
| 19 // codes will be written. |
| 20 typedef int (*WatcherMainFunction)(const wchar_t* registry_path); |
| 21 |
| 22 } // namespace browser_watcher |
| 23 |
| 24 #endif // COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_ |
OLD | NEW |