blob: 7ca5fb012e544a12a9248041fab7ce50b1e48f33 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_UTIL_H_
#define CHROME_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_UTIL_H_
#include <windows.ui.notifications.h>
class NotificationLaunchId;
// Extracts a NotificationLaunchId from a Toast |notification|. Outside tests,
// this function should be called on a non-UI thread.
NotificationLaunchId GetNotificationLaunchId(
ABI::Windows::UI::Notifications::IToastNotification* notification);
#endif // CHROME_BROWSER_NOTIFICATIONS_WIN_NOTIFICATION_UTIL_H_