Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / chrome_watcher / chrome_watcher_main_api.h
blob491b550f3004cc4d8b56ac072706c84d377627b5
1 // Copyright 2015 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 CHROME_CHROME_WATCHER_CHROME_WATCHER_MAIN_API_H_
6 #define CHROME_CHROME_WATCHER_CHROME_WATCHER_MAIN_API_H_
8 #include <Windows.h>
9 #include "base/files/file_path.h"
10 #include "base/strings/string16.h"
12 // The name of the watcher DLL.
13 extern const base::FilePath::CharType kChromeWatcherDll[];
14 // The name of the watcher DLLs entrypoint function.
15 extern const char kChromeWatcherDLLEntrypoint[];
17 // The type of the watcher DLL's main entry point.
18 // Watches |parent_process| and records its exit code under |registry_path| in
19 // HKCU. Takes ownership of |parent_process|.
20 typedef int (*ChromeWatcherMainFunction)(const base::char16* registry_path,
21 HANDLE parent_process);
23 #endif // CHROME_CHROME_WATCHER_CHROME_WATCHER_MAIN_API_H_