Bug 1867190 - Add prefs for PHC probablities r=glandium
[gecko.git] / toolkit / mozapps / defaultagent / ScheduledTask.h
bloba3709823ad0b89ee02ee248f623603208cdcca6d
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef __DEFAULT_BROWSER_AGENT_SCHEDULED_TASK_H__
8 #define __DEFAULT_BROWSER_AGENT_SCHEDULED_TASK_H__
10 #include <windows.h>
11 #include <wtypes.h>
13 namespace mozilla::default_agent {
15 // uniqueToken should be a string unique to the installation, so that a
16 // separate task can be created for each installation. Typically this will be
17 // the install hash string.
18 HRESULT RegisterTask(const wchar_t* uniqueToken, BSTR startTime = nullptr);
19 HRESULT UpdateTask(const wchar_t* uniqueToken);
21 } // namespace mozilla::default_agent
23 #endif // __DEFAULT_BROWSER_AGENT_SCHEDULED_TASK_H__