Bug 1412125, part 1 - Manually add mode lines and MPL to files that were missing them entirely. r=qDot draft
authorAndrew McCreight <continuation@gmail.com>
Thu, 26 Oct 2017 14:54:59 -0700
changeset 687181 a915c7ab032dbcd6dfcf380cb7a54e200abe204b
parent 687180 68491ce878c4810d8b9be095cc8ded71d6e42c38
child 687182 f7a3b990b872c0621b9096b12d232aa46c1a9187
push id86420
push userbmo:continuation@gmail.com
push dateThu, 26 Oct 2017 22:28:01 +0000
reviewersqDot
bugs1412125
milestone58.0a1
Bug 1412125, part 1 - Manually add mode lines and MPL to files that were missing them entirely. r=qDot These were detected by the script used to generate part 2. MozReview-Commit-ID: VMcT154f6f
dom/base/IntlUtils.cpp
dom/fetch/FetchUtil.cpp
dom/fetch/FetchUtil.h
dom/gamepad/GamepadPoseState.h
dom/gamepad/ipc/GamepadMessageUtils.h
dom/gamepad/ipc/GamepadServiceType.h
dom/notification/Notification.h
dom/security/nsContentSecurityManager.cpp
--- a/dom/base/IntlUtils.cpp
+++ b/dom/base/IntlUtils.cpp
@@ -1,8 +1,14 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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/. */
+
 #include "IntlUtils.h"
 #include "mozIMozIntl.h"
 #include "nsContentUtils.h"
 
 namespace mozilla {
 namespace dom {
 
 NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(IntlUtils, mWindow)
--- a/dom/fetch/FetchUtil.cpp
+++ b/dom/fetch/FetchUtil.cpp
@@ -1,8 +1,14 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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/. */
+
 #include "FetchUtil.h"
 
 #include "nsError.h"
 #include "nsString.h"
 #include "nsIDocument.h"
 
 #include "mozilla/dom/InternalRequest.h"
 
--- a/dom/fetch/FetchUtil.h
+++ b/dom/fetch/FetchUtil.h
@@ -1,8 +1,14 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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_dom_FetchUtil_h
 #define mozilla_dom_FetchUtil_h
 
 #include "nsString.h"
 #include "nsError.h"
 
 #include "mozilla/ErrorResult.h"
 #include "mozilla/dom/File.h"
--- a/dom/gamepad/GamepadPoseState.h
+++ b/dom/gamepad/GamepadPoseState.h
@@ -1,8 +1,13 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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_dom_gamepad_GamepadPoseState_h_
 #define mozilla_dom_gamepad_GamepadPoseState_h_
 
 namespace mozilla{
 namespace dom{
 
 enum class GamepadCapabilityFlags : uint16_t {
@@ -84,9 +89,9 @@ struct GamepadPoseState
   void Clear() {
     memset(this, 0, sizeof(GamepadPoseState));
   }
 };
 
 }// namespace dom
 }// namespace mozilla
 
-#endif // mozilla_dom_gamepad_GamepadPoseState_h_
\ No newline at end of file
+#endif // mozilla_dom_gamepad_GamepadPoseState_h_
--- a/dom/gamepad/ipc/GamepadMessageUtils.h
+++ b/dom/gamepad/ipc/GamepadMessageUtils.h
@@ -1,8 +1,13 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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_dom_gamepad_GamepadMessageUtils_h
 #define mozilla_dom_gamepad_GamepadMessageUtils_h
 
 #include "ipc/IPCMessageUtils.h"
 #include "mozilla/dom/GamepadBinding.h"
 #include "mozilla/dom/GamepadPoseState.h"
 #include "mozilla/dom/GamepadServiceType.h"
@@ -93,9 +98,9 @@ struct ParamTraits<mozilla::dom::Gamepad
       return false;
     }
     return true;
   }
 };
 
 } // namespace IPC
 
-#endif // mozilla_dom_gamepad_GamepadMessageUtils_h
\ No newline at end of file
+#endif // mozilla_dom_gamepad_GamepadMessageUtils_h
--- a/dom/gamepad/ipc/GamepadServiceType.h
+++ b/dom/gamepad/ipc/GamepadServiceType.h
@@ -1,8 +1,13 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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_dom_GamepadServiceType_h_
 #define mozilla_dom_GamepadServiceType_h_
 
 namespace mozilla{
 namespace dom{
 
 // Standard channel is used for managing gamepads that
@@ -12,9 +17,9 @@ enum class GamepadServiceType : uint16_t
   Standard,
   VR,
   NumGamepadServiceType
 };
 
 }// namespace dom
 }// namespace mozilla
 
-#endif // mozilla_dom_GamepadServiceType_h_
\ No newline at end of file
+#endif // mozilla_dom_GamepadServiceType_h_
--- a/dom/notification/Notification.h
+++ b/dom/notification/Notification.h
@@ -1,9 +1,10 @@
-/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- *//* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
 /* 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_dom_notification_h__
 #define mozilla_dom_notification_h__
 
 #include "mozilla/DOMEventTargetHelper.h"
--- a/dom/security/nsContentSecurityManager.cpp
+++ b/dom/security/nsContentSecurityManager.cpp
@@ -1,8 +1,14 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* 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/. */
+
 #include "nsContentSecurityManager.h"
 #include "nsEscape.h"
 #include "nsIChannel.h"
 #include "nsIHttpChannelInternal.h"
 #include "nsIStreamListener.h"
 #include "nsILoadInfo.h"
 #include "nsIOService.h"
 #include "nsContentUtils.h"