Fix a couple of compile errors in the foreground module.
[chromium-blink-merge.git] / components / browser_watcher / watcher_main_api_win.h
blob4313982c22adbfaca2ac38e6e06dc1746c83791e
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.
5 #ifndef COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_
6 #define COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_
8 #include "base/files/file_path.h"
9 #include "base/strings/string16.h"
11 namespace browser_watcher {
13 // The name of the watcher DLL.
14 extern const base::FilePath::CharType kWatcherDll[];
15 // The name of the watcher DLLs entrypoint function.
16 extern const char kWatcherDLLEntrypoint[];
18 // The type of the watcher DLL's main entry point.
19 // The |registry_path| parameter is the path under HKCU where the exit
20 // codes will be written.
21 typedef int (*WatcherMainFunction)(const base::char16* registry_path);
23 } // namespace browser_watcher
25 #endif // COMPONENTS_BROWSER_WATCHER_WATCHER_MAIN_API_WIN_H_