summaryrefslogtreecommitdiffstats
path: root/xpcom/threads/StateWatching.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /xpcom/threads/StateWatching.h
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xpcom/threads/StateWatching.h')
-rw-r--r--xpcom/threads/StateWatching.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/xpcom/threads/StateWatching.h b/xpcom/threads/StateWatching.h
index 3da0c63bfe..2bd5c58d3b 100644
--- a/xpcom/threads/StateWatching.h
+++ b/xpcom/threads/StateWatching.h
@@ -4,19 +4,19 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#if !defined(StateWatching_h_)
-# define StateWatching_h_
-
-# include <cstddef>
-# include <new>
-# include <utility>
-# include "mozilla/AbstractThread.h"
-# include "mozilla/Assertions.h"
-# include "mozilla/Logging.h"
-# include "mozilla/RefPtr.h"
-# include "nsISupports.h"
-# include "nsTArray.h"
-# include "nsThreadUtils.h"
+#ifndef XPCOM_THREADS_STATEWATCHING_H_
+#define XPCOM_THREADS_STATEWATCHING_H_
+
+#include <cstddef>
+#include <new>
+#include <utility>
+#include "mozilla/AbstractThread.h"
+#include "mozilla/Assertions.h"
+#include "mozilla/Logging.h"
+#include "mozilla/RefPtr.h"
+#include "nsISupports.h"
+#include "nsTArray.h"
+#include "nsThreadUtils.h"
/*
* The state-watching machinery automates the process of responding to changes
@@ -62,8 +62,8 @@ namespace mozilla {
extern LazyLogModule gStateWatchingLog;
-# define WATCH_LOG(x, ...) \
- MOZ_LOG(gStateWatchingLog, LogLevel::Debug, (x, ##__VA_ARGS__))
+#define WATCH_LOG(x, ...) \
+ MOZ_LOG(gStateWatchingLog, LogLevel::Debug, (x, ##__VA_ARGS__))
/*
* AbstractWatcher is a superclass from which all watchers must inherit.
@@ -295,7 +295,7 @@ class WatchManager {
RefPtr<AbstractThread> mOwnerThread;
};
-# undef WATCH_LOG
+#undef WATCH_LOG
} // namespace mozilla