Bug 1858509 add thread-safety annotations around MediaSourceDemuxer::mMonitor r=alwu
[gecko.git] / widget / LSBUtils.h
blob37d4c400ad9c4c69d01fe696dd0f2d75d2c0b89c
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
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 _MOZILLA_WIDGET_LSB_UTILS_H
8 #define _MOZILLA_WIDGET_LSB_UTILS_H
10 #include "nsString.h"
12 namespace mozilla {
13 namespace widget {
14 namespace lsb {
16 // Fetches the LSB release data by parsing the lsb_release command.
17 // Returns false if the lsb_release command was not found, or parsing failed.
18 bool GetLSBRelease(nsACString& aDistributor, nsACString& aDescription,
19 nsACString& aRelease, nsACString& aCodename);
21 } // namespace lsb
22 } // namespace widget
23 } // namespace mozilla
25 #endif // _MOZILLA_WIDGET_LSB_UTILS_H