tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit d58be75d92bfbc3872c5f2c21cdd151d7f3d6648
parent 6d7696a045dad7e78bd3b02736b55b6e1ad7232e
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Fri,  9 Jan 2026 11:50:12 +0000

Bug 2009128 - Add missing miscellaneous header guards r=ahochheiden

Those interact badly with unified builds when changing the current setup.

Differential Revision: https://phabricator.services.mozilla.com/D278252

Diffstat:
Mdom/base/CCGCScheduler.h | 5+++++
Mdom/media/gtest/MockGraphInterface.h | 5+++++
Mwidget/android/jni/NativesInlines.h | 3+++
Mwidget/cocoa/nsMacDockSupport.h | 5+++++
4 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/dom/base/CCGCScheduler.h b/dom/base/CCGCScheduler.h @@ -2,6 +2,9 @@ * 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/. */ +#ifndef mozilla_dom_CCGCScheduler_h +#define mozilla_dom_CCGCScheduler_h + #include "js/SliceBudget.h" #include "mozilla/CycleCollectedJSContext.h" #include "mozilla/IdleTaskRunner.h" @@ -541,3 +544,5 @@ class CCGCScheduler { }; } // namespace mozilla + +#endif diff --git a/dom/media/gtest/MockGraphInterface.h b/dom/media/gtest/MockGraphInterface.h @@ -4,6 +4,9 @@ * 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/. */ +#ifndef MOCK_GRAPH_INTERFACE_H_ +#define MOCK_GRAPH_INTERFACE_H_ + #include <tuple> #include "GraphDriver.h" @@ -95,3 +98,5 @@ class MockGraphInterface : public GraphInterface { }; } // namespace mozilla + +#endif diff --git a/widget/android/jni/NativesInlines.h b/widget/android/jni/NativesInlines.h @@ -3,6 +3,8 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/. */ +#ifndef mozilla_jni_NativesInlines_h_ +#define mozilla_jni_NativesInlines_h_ #include "Natives.h" @@ -114,3 +116,4 @@ RefPtr<DetachPromise> NativeWeakPtr<NativeImpl>::Detach() { } } // namespace mozilla::jni +#endif diff --git a/widget/cocoa/nsMacDockSupport.h b/widget/cocoa/nsMacDockSupport.h @@ -3,6 +3,9 @@ * 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/. */ +#ifndef mozilla_widget_nsMacDockSupport_h +#define mozilla_widget_nsMacDockSupport_h + #include "nsIMacDockSupport.h" #include "nsIStandaloneNativeMenu.h" #include "nsITaskbarProgress.h" @@ -36,3 +39,5 @@ class nsMacDockSupport : public nsIMacDockSupport, public nsITaskbarProgress { void BuildDockTile(); nsresult UpdateDockTile(); }; + +#endif