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__
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__