+2016-11-12 Joseph Pecoraro <pecoraro@apple.com>
+
+ Use #pragma once in WebCore
+ https://bugs.webkit.org/show_bug.cgi?id=164373
+
+ Reviewed by Darin Adler.
+
+ * Modules/*.h:
+ * crypto/*.h:
+ * cssjit/*.h:
+ * editing/*.h:
+ * fileapi/*.h:
+ * history/*.h:
+ * loader/*.h:
+ * mathml/*.h:
+ * page/*.h:
+ * replay/*.h:
+ * storage/*.h:
+ * xml/*.h:
+
+ * editing/FrameSelection.cpp:
+ * loader/ResourceLoadStatisticsStore.cpp:
+ Remove unused LOG and DEBUG defines.
+
2016-11-12 Wenson Hsieh <wenson_hsieh@apple.com>
Follow-up: fix the OpenSource build on Mac after r208642
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebKitPlaybackTargetAvailabilityEvent_h
-#define WebKitPlaybackTargetAvailabilityEvent_h
+#pragma once
#if ENABLE(WIRELESS_PLAYBACK_TARGET)
} // namespace WebCore
#endif // ENABLE(WIRELESS_PLAYBACK_TARGET)
-
-#endif // WebKitPlaybackTargetAvailabilityEvent_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CDMPrivate_h
-#define CDMPrivate_h
+#pragma once
#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
virtual std::unique_ptr<CDMSession> createSession(CDMSessionClient*) = 0;
};
-}
+} // namespace WebCore
#endif // ENABLE(LEGACY_ENCRYPTED_MEDIA)
-
-#endif // CDMPrivate_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CDMPrivateClearKey_h
-#define CDMPrivateClearKey_h
+#pragma once
#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
CDM* m_cdm;
};
-}
+} // namespace WebCore
#endif // ENABLE(LEGACY_ENCRYPTED_MEDIA)
-
-#endif // CDMPrivateClearKey_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CDMPrivateMediaPlayer_h
-#define CDMPrivateMediaPlayer_h
+#pragma once
#include "CDMPrivate.h"
CDM* m_cdm;
};
-}
+} // namespace WebCore
-#endif
-
-#endif // CDMPriavateMediaPlayer_h
+#endif // ENABLE(LEGACY_ENCRYPTED_MEDIA)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CDMSessionClearKey_h
-#define CDMSessionClearKey_h
+#pragma once
#include "CDMSession.h"
#include <wtf/HashMap.h>
String m_sessionId;
};
-}
+} // namespace WebCore
#endif // ENABLE(LEGACY_ENCRYPTED_MEDIA)
-
-#endif // CDMSessionClearKey_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebKitMediaKeyMessageEvent_h
-#define WebKitMediaKeyMessageEvent_h
+#pragma once
#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
} // namespace WebCore
-#endif
-#endif
+#endif // ENABLE(LEGACY_ENCRYPTED_MEDIA)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebKitMediaKeyNeededEvent_h
-#define WebKitMediaKeyNeededEvent_h
+#pragma once
#if ENABLE(LEGACY_ENCRYPTED_MEDIA)
} // namespace WebCore
-#endif
-#endif
+#endif // ENABLE(LEGACY_ENCRYPTED_MEDIA)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FetchBody_h
-#define FetchBody_h
+#pragma once
#if ENABLE(FETCH_API)
} // namespace WebCore
#endif // ENABLE(FETCH_API)
-
-#endif // FetchBody_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FetchBodyOwner_h
-#define FetchBodyOwner_h
+#pragma once
#if ENABLE(FETCH_API)
} // namespace WebCore
#endif // ENABLE(FETCH_API)
-
-#endif // FetchBodyOwner_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FetchLoaderClient_h
-#define FetchLoaderClient_h
+#pragma once
#if ENABLE(FETCH_API)
#include <wtf/Forward.h>
-namespace JSC {
-class ArrayBuffer;
-}
-
namespace WebCore {
class ResourceResponse;
} // namespace WebCore
#endif // ENABLE(FETCH_API)
-
-#endif // FetchLoaderClient_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Gamepad_h
-#define Gamepad_h
+#pragma once
#if ENABLE(GAMEPAD)
} // namespace WebCore
#endif // ENABLE(GAMEPAD)
-
-#endif // Gamepad_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GamepadButton_h
-#define GamepadButton_h
+#pragma once
#if ENABLE(GAMEPAD)
double m_value;
};
-
} // namespace WebCore
#endif // ENABLE(GAMEPAD)
-
-#endif // GamepadButton_h
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GamepadEvent_h
-#define GamepadEvent_h
+
+#pragma once
#if ENABLE(GAMEPAD)
} // namespace WebCore
#endif // ENABLE(GAMEPAD)
-#endif // GamepadEvent_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GamepadManager_h
-#define GamepadManager_h
+#pragma once
#if ENABLE(GAMEPAD)
} // namespace WebCore
#endif // ENABLE(GAMEPAD)
-#endif // GamepadManager_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NavigatorGamepad_h
-#define NavigatorGamepad_h
+#pragma once
#if ENABLE(GAMEPAD)
} // namespace WebCore
#endif // ENABLE(GAMEPAD)
-
-#endif // NavigatorGamepad_h
* DAMAGE.
*/
-#ifndef Gamepad_h
-#define Gamepad_h
+#pragma once
#if ENABLE(GAMEPAD_DEPRECATED)
} // namespace WebCore
#endif // ENABLE(GAMEPAD_DEPRECATED)
-
-#endif // Gamepad_h
* DAMAGE.
*/
-#ifndef GamepadList_h
-#define GamepadList_h
+#pragma once
#if ENABLE(GAMEPAD_DEPRECATED)
} // namespace WebCore
#endif // ENABLE(GAMEPAD_DEPRECATED)
-
-#endif // GamepadList_h
* DAMAGE.
*/
-#ifndef NavigatorGamepad_h
-#define NavigatorGamepad_h
+#pragma once
#if ENABLE(GAMEPAD_DEPRECATED)
} // namespace WebCore
#endif // ENABLE(GAMEPAD_DEPRECATED)
-
-#endif // NavigatorGamepad_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Coordinates_h
-#define Coordinates_h
+#pragma once
#include "Event.h"
#include <wtf/Optional.h>
};
} // namespace WebCore
-
-#endif // Coordinates_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GeoNotifier_h
-#define GeoNotifier_h
+#pragma once
#if ENABLE(GEOLOCATION)
} // namespace WebCore
#endif // ENABLE(GEOLOCATION)
-
-#endif // GeoNotifier_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Geolocation_h
-#define Geolocation_h
+#pragma once
#if ENABLE(GEOLOCATION)
} // namespace WebCore
#endif // ENABLE(GEOLOCATION)
-
-#endif // Geolocation_h
-
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GeolocationClient_h
-#define GeolocationClient_h
+#pragma once
namespace WebCore {
WEBCORE_EXPORT void provideGeolocationTo(Page*, GeolocationClient*);
} // namespace WebCore
-
-#endif // GeolocationClient_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GeolocationController_h
-#define GeolocationController_h
+#pragma once
#if ENABLE(GEOLOCATION)
class GeolocationClient;
class GeolocationError;
class GeolocationPosition;
-class Page;
class GeolocationController : public Supplement<Page>, private ActivityStateChangeObserver {
WTF_MAKE_FAST_ALLOCATED;
} // namespace WebCore
#endif // ENABLE(GEOLOCATION)
-
-#endif // GeolocationController_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GeolocationError_h
-#define GeolocationError_h
+#pragma once
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
};
} // namespace WebCore
-
-#endif // GeolocationError_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GeolocationPosition_h
-#define GeolocationPosition_h
+#pragma once
#include <wtf/Ref.h>
#include <wtf/RefCounted.h>
};
} // namespace WebCore
-
-#endif // GeolocationPosition_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Geoposition_h
-#define Geoposition_h
+#pragma once
#include "Coordinates.h"
#include "Event.h"
};
} // namespace WebCore
-
-#endif // Geoposition_h
Boston, MA 02110-1301, USA.
*/
-#ifndef NavigatorGeolocation_h
-#define NavigatorGeolocation_h
+#pragma once
#if ENABLE(GEOLOCATION)
} // namespace WebCore
#endif // ENABLE(GEOLOCATION)
-
-#endif // NavigatorGeolocation_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PositionCallback_h
-#define PositionCallback_h
+#pragma once
#include <wtf/RefCounted.h>
};
} // namespace WebCore
-
-#endif // PositionCallback_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PositionError_h
-#define PositionError_h
+#pragma once
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
};
} // namespace WebCore
-
-#endif // PositionError_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PositionErrorCallback_h
-#define PositionErrorCallback_h
+#pragma once
#include <wtf/RefCounted.h>
};
} // namespace WebCore
-
-#endif // PositionErrorCallback_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PositionOptions_h
-#define PositionOptions_h
+#pragma once
#include <wtf/RefCounted.h>
};
} // namespace WebCore
-
-#endif // PositionOptions_h
* DAMAGE.
*/
-#ifndef DOMWindowIndexedDatabase_h
-#define DOMWindowIndexedDatabase_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-
-#endif // DOMWindowIndexedDatabase_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBDatabaseError_h
-#define IDBDatabaseError_h
+#pragma once
#include "IDBDatabaseException.h"
#include <wtf/RefCounted.h>
} // namespace WebCore
-#endif
-
-#endif // IDBDatabaseError_h
+#endif // ENABLE(INDEXED_DATABASE)
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBDatabaseException_h
-#define IDBDatabaseException_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
-#endif
-
-#endif // IDBDatabaseException_h
+#endif // ENABLE(INDEXED_DATABASE)
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBEventDispatcher_h
-#define IDBEventDispatcher_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-
-#endif // IDBEventDispatcher_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBGetResult_h
-#define IDBGetResult_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBGetResult_h
return compareBinaryKeyData(*aData, *bData);
}
-}
+} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBKeyRangeData_h
-#define IDBKeyRangeData_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBKeyRangeData_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBRecordIdentifier_h
-#define IDBRecordIdentifier_h
+
+#pragma once
#include <wtf/RefCounted.h>
#include <wtf/Vector.h>
} // namespace WebCore
-#endif
-
-#endif // IDBRecordIdentifier_h
+#endif // ENABLE(INDEXED_DATABASE)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBRequestCompletionEvent_h
-#define IDBRequestCompletionEvent_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
Ref<IDBRequest> m_request;
};
-
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBRequestCompletionEvent_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TransactionOperation_h
-#define TransactionOperation_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // TransactionOperation_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBBackingStore_h
-#define IDBBackingStore_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBBackingStore_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBConnectionToClient_h
-#define IDBConnectionToClient_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBConnectionToClient_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBConnectionToClientDelegate_h
-#define IDBConnectionToClientDelegate_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBConnectionToClientDelegate_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBSerialization_h
-#define IDBSerialization_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBSerialization_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IndexValueEntry_h
-#define IndexValueEntry_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IndexValueEntry_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IndexValueStore_h
-#define IndexValueStore_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IndexValueStore_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MemoryBackingStoreTransaction_h
-#define MemoryBackingStoreTransaction_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // MemoryBackingStoreTransaction_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MemoryCursor_h
-#define MemoryCursor_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // MemoryCursor_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MemoryIDBBackingStore_h
-#define MemoryIDBBackingStore_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // MemoryIDBBackingStore_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MemoryIndexCursor_h
-#define MemoryIndexCursor_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // MemoryIndexCursor_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MemoryObjectStore_h
-#define MemoryObjectStore_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // MemoryObjectStore_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MemoryObjectStoreCursor_h
-#define MemoryObjectStoreCursor_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // MemoryObjectStoreCursor_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLiteIDBBackingStore_h
-#define SQLiteIDBBackingStore_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // SQLiteIDBBackingStore_h
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLiteIDBCursor_h
-#define SQLiteIDBCursor_h
+
+#pragma once
#if ENABLE(INDEXED_DATABASE)
bool m_backingStoreCursor { false };
};
-
} // namespace IDBServer
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // SQLiteIDBCursor_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLiteIDBTransaction_h
-#define SQLiteIDBTransaction_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // SQLiteIDBTransaction_h
#if ENABLE(INDEXED_DATABASE)
#include "IDBResultData.h"
-#include <wtf/RefCounted.h>
namespace WebCore {
namespace IDBServer {
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ServerOpenDBRequest_h
-#define ServerOpenDBRequest_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // ServerOpenDBRequest_h
#include <runtime/StructureInlines.h>
#include <wtf/MainThread.h>
#include <wtf/NeverDestroyed.h>
-#include <wtf/ThreadSafeRefCounted.h>
using namespace JSC;
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBCursorInfo_h
-#define IDBCursorInfo_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBCursorInfo_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBDatabaseInfo_h
-#define IDBDatabaseInfo_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBDatabaseInfo_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBIndexInfo_h
-#define IDBIndexInfo_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBIndexInfo_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBObjectStoreInfo_h
-#define IDBObjectStoreInfo_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBObjectStoreInfo_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBRequestData_h
-#define IDBRequestData_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBRequestData_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBResultData_h
-#define IDBResultData_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
namespace WebCore {
-class IDBResourceIdentifier;
class ThreadSafeDataBuffer;
enum class IDBResultType {
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBResultData_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBTransactionInfo_h
-#define IDBTransactionInfo_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IDBTransactionInfo_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IndexKey_h
-#define IndexKey_h
+#pragma once
#if ENABLE(INDEXED_DATABASE)
} // namespace WebCore
#endif // ENABLE(INDEXED_DATABASE)
-#endif // IndexKey_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef UIRequestEvent_h
-#define UIRequestEvent_h
+#pragma once
#include "EventTarget.h"
#include "UIEvent.h"
} // namespace WebCore
#endif // ENABLE(INDIE_UI)
-
-#endif // UIRequestEvent_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef HTMLMediaElementMediaSession_h
-#define HTMLMediaElementMediaSession_h
+#pragma once
#if ENABLE(MEDIA_SESSION) && ENABLE(VIDEO)
} // namespace WebCore
-#endif /* ENABLE(MEDIA_SESSION) && ENABLE(VIDEO) */
-
-#endif /* HTMLMediaElementMediaSession_h */
+#endif // ENABLE(MEDIA_SESSION) && ENABLE(VIDEO)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaRemoteControls_h
-#define MediaRemoteControls_h
+#pragma once
#if ENABLE(MEDIA_SESSION)
} // namespace WebCore
-#endif /* ENABLE(MEDIA_SESSION) */
-
-#endif /* MediaRemoteControls_h */
+#endif // ENABLE(MEDIA_SESSION)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaSessionEvents_h
-#define MediaSessionEvents_h
+#pragma once
#if ENABLE(MEDIA_SESSION)
TrackPrevious
};
-}
+} // namespace WebCore
-#endif
-
-#endif /* MediaSessionEvents_h */
+#endif // ENABLE(MEDIA_SESSION)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaSessionManager_h
-#define MediaSessionManager_h
+#pragma once
#if ENABLE(MEDIA_SESSION)
} // namespace WebCore
-#endif /* ENABLE(MEDIA_SESSION) */
-
-#endif /* MediaSessionManager_h */
+#endif // ENABLE(MEDIA_SESSION)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaSessionMetadata_h
-#define MediaSessionMetadata_h
+#pragma once
#if ENABLE(MEDIA_SESSION)
} // namespace WebCore
-#endif /* ENABLE(MEDIA_SESSION) */
-
-#endif /* MediaSessionMetadata_h */
+#endif // ENABLE(MEDIA_SESSION)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaSessionManager_h
-#define WebMediaSessionManager_h
+#pragma once
#if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
} // namespace WebCore
-#endif // ENABLE(WIRELESS_PLAYBACK_TARGET)
-
-#endif // WebMediaSessionManager_h
+#endif // ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaSessionManagerClient_h
-#define WebMediaSessionManagerClient_h
+#pragma once
#if ENABLE(WIRELESS_PLAYBACK_TARGET)
namespace WebCore {
-class MediaPlaybackTarget;
-
class WebMediaSessionManagerClient {
public:
virtual ~WebMediaSessionManagerClient() { }
} // namespace WebCore
#endif // ENABLE(WIRELESS_PLAYBACK_TARGET)
-
-#endif // WebMediaSessionManagerClient_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioTrackMediaSource_h
-#define AudioTrackMediaSource_h
+#pragma once
#if ENABLE(MEDIA_SOURCE) && ENABLE(VIDEO_TRACK)
namespace WebCore {
-class SourceBuffer;
-
class AudioTrackMediaSource {
public:
static SourceBuffer* sourceBuffer(AudioTrack& track) { return track.sourceBuffer(); }
};
-}
-
-#endif
-
+} // namespace WebCore
-#endif
+#endif // ENABLE(MEDIA_SOURCE) && ENABLE(VIDEO_TRACK)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMURLMediaSource_h
-#define DOMURLMediaSource_h
+#pragma once
#if ENABLE(MEDIA_SOURCE)
} // namespace WebCore
-#endif
-
-#endif
+#endif // ENABLE(MEDIA_SOURCE)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaSourceRegistry_h
-#define MediaSourceRegistry_h
+#pragma once
#if ENABLE(MEDIA_SOURCE)
} // namespace WebCore
-#endif
-#endif
+#endif // ENABLE(MEDIA_SOURCE)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SampleMap_h
-#define SampleMap_h
+#pragma once
#if ENABLE(MEDIA_SOURCE)
addSample(*iter->second);
}
-}
-
-#endif
+} // namespace WebCore
-#endif // SampleMap_h
+#endif // ENABLE(MEDIA_SOURCE)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SourceBufferList_h
-#define SourceBufferList_h
+#pragma once
#if ENABLE(MEDIA_SOURCE)
} // namespace WebCore
-#endif
-
-#endif
+#endif // ENABLE(MEDIA_SOURCE)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TextTrackMediaSource_h
-#define TextTrackMediaSource_h
+#pragma once
#if ENABLE(MEDIA_SOURCE) && ENABLE(VIDEO_TRACK)
static SourceBuffer* sourceBuffer(TextTrack& track) { return track.sourceBuffer(); }
};
-}
+} // namespace WebCore
-#endif
-
-#endif
+#endif // ENABLE(MEDIA_SOURCE) && ENABLE(VIDEO_TRACK)
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef VideoPlaybackQuality_h
-#define VideoPlaybackQuality_h
+#pragma once
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
double m_totalFrameDelay;
};
-}
-
-#endif // VideoPlaybackQuality_h
+} // namespace WebCore
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef VideoTrackMediaSource_h
-#define VideoTrackMediaSource_h
+#pragma once
#if ENABLE(MEDIA_SOURCE) && ENABLE(VIDEO_TRACK)
namespace WebCore {
-class SourceBuffer;
-
class VideoTrackMediaSource {
public:
static SourceBuffer* sourceBuffer(VideoTrack& track) { return track.sourceBuffer(); }
};
-}
-
-#endif
+} // namespace WebCore
-#endif
+#endif // ENABLE(MEDIA_SOURCE) && ENABLE(VIDEO_TRACK)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMURLMediaStream_h
-#define DOMURLMediaStream_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // URLMediaStream_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef HTMLMediaElementMediaStream_h
-#define HTMLMediaElementMediaStream_h
+#pragma once
#if ENABLE(MEDIA_STREAM) && ENABLE(VIDEO)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM) && ENABLE(VIDEO)
-
-#endif // HTMLMediaElementMediaStream_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaConstraintsImpl_h
-#define MediaConstraintsImpl_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // MediaConstraintsImpl_h
-
-
*
*/
-#ifndef MediaDevicesRequest_h
-#define MediaDevicesRequest_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
namespace WebCore {
class Document;
-class Frame;
class MediaDevicesEnumerationRequest;
class SecurityOrigin;
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // MediaDevicesRequest_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaSourceSettings_h
-#define MediaSourceSettings_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
-#endif // MediaSourceSettings_h
-
-#endif
+#endif // ENABLE(MEDIA_STREAM)
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStream_h
-#define MediaStream_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // MediaStream_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStreamEvent_h
-#define MediaStreamEvent_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // MediaStreamEvent_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStreamRegistry_h
-#define MediaStreamRegistry_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // MediaStreamRegistry_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStreamTrackEvent_h
-#define MediaStreamTrackEvent_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // MediaStreamTrackEvent_h
*
*/
-#ifndef MediaTrackConstraint_h
-#define MediaTrackConstraint_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
#include "ScriptWrappable.h"
#include <wtf/RefCounted.h>
-namespace Deprecated {
-class ScriptValue;
-}
-
namespace WebCore {
class MediaTrackConstraint : public RefCounted<MediaTrackConstraint>, public ScriptWrappable {
} // namespace WebCore
-#endif // MediaTrackConstraint_h
-
-#endif
+#endif // ENABLE(MEDIA_STREAM)
*
*/
-#ifndef MediaTrackConstraintSet_h
-#define MediaTrackConstraintSet_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
-#endif // MediaTrackConstraintSet_h
-
-#endif
+#endif // ENABLE(MEDIA_STREAM)
*
*/
-#ifndef MediaTrackConstraints_h
-#define MediaTrackConstraints_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
-#endif // MediaTrackConstraints_h
-
-#endif
+#endif // ENABLE(MEDIA_STREAM)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaTrackSupportedConstraints_h
-#define MediaTrackSupportedConstraints_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
-#endif // MediaTrackSupportedConstraints_h
-
-#endif
+#endif // ENABLE(MEDIA_STREAM)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NavigatorMediaDevices_h
-#define NavigatorMediaDevices_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // NavigatorMediaDevices_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCDTMFToneChangeEvent_h
-#define RTCDTMFToneChangeEvent_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCDTMFToneChangeEvent_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCDataChannelEvent_h
-#define RTCDataChannelEvent_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCDataChannelEvent_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCIceCandidateEvent_h
-#define RTCIceCandidateEvent_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCIceCandidateEvent_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCIceServer_h
-#define RTCIceServer_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCIceServer_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCRtpReceiver_h
-#define RTCRtpReceiver_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCRtpReceiver_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCRtpSenderReceiverBase_h
-#define RTCRtpSenderReceiverBase_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCRtpSenderReceiverBase_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCRtpTransceiver_h
-#define RTCRtpTransceiver_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCRtpTransceiver_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCStatsReport_h
-#define RTCStatsReport_h
+#pragma once
#include "ScriptWrappable.h"
#include <wtf/HashMap.h>
};
} // namespace WebCore
-
-#endif // RTCStatsReport_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCStatsResponse_h
-#define RTCStatsResponse_h
+#pragma once
#include "ActiveDOMObject.h"
#include "DOMError.h"
};
} // namespace WebCore
-
-#endif // RTCStatsResponse_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCTrackEvent_h
-#define RTCTrackEvent_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // RTCTrackEvent_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SDPProcessor_h
-#define SDPProcessor_h
+#pragma once
#if ENABLE(WEB_RTC)
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
-
-#endif // SDPProcessor_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef UserMediaClient_h
-#define UserMediaClient_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
-#include <functional>
-#include <wtf/Vector.h>
-#include <wtf/text/WTFString.h>
-
namespace WebCore {
class MediaDevicesEnumerationRequest;
-class MediaConstraints;
class Page;
-class RealtimeMediaSource;
class UserMediaRequest;
class UserMediaClient {
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // UserMediaClient_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef UserMediaController_h
-#define UserMediaController_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // UserMediaController_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef UserMediaRequest_h
-#define UserMediaRequest_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
namespace WebCore {
-class Dictionary;
-class Document;
-class Frame;
class MediaConstraints;
class MediaStreamPrivate;
class UserMediaController;
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // UserMediaRequest_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NavigatorContentUtilsClient_h
-#define NavigatorContentUtilsClient_h
+#pragma once
#if ENABLE(NAVIGATOR_CONTENT_UTILS)
void provideNavigatorContentUtilsTo(Page*, std::unique_ptr<NavigatorContentUtilsClient>);
-}
+} // namespace WebCore
#endif // ENABLE(NAVIGATOR_CONTENT_UTILS)
-#endif // NavigatorContentUtilsClient_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMWindowNotifications_h
-#define DOMWindowNotifications_h
+#pragma once
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
} // namespace WebCore
#endif // ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
-
-#endif // DOMWindowNotifications_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NotificationPermissionCallback_h
-#define NotificationPermissionCallback_h
+#pragma once
#if ENABLE(NOTIFICATIONS)
} // namespace WebCore
#endif // ENABLE(NOTIFICATIONS)
-
-#endif // NotificationPermissionCallback_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DeviceProximityClient_h
-#define DeviceProximityClient_h
+#pragma once
#if ENABLE(PROXIMITY_EVENTS)
} // namespace WebCore
#endif // PROXIMITY_EVENTS
-#endif // DeviceProximityClient_h
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DeviceProximityController_h
-#define DeviceProximityController_h
+#pragma once
#if ENABLE(PROXIMITY_EVENTS)
} // namespace WebCore
#endif // PROXIMITY_EVENTS
-#endif // DeviceProximityController_h
* Boston, MA 02110-1301, USA.
*/
-#ifndef DeviceProximityEvent_h
-#define DeviceProximityEvent_h
+#pragma once
#if ENABLE(PROXIMITY_EVENTS)
} // namespace WebCore
#endif // DeviceProximityEvent_h
-#endif // PROXIMITY_EVENTS
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMWindowQuota_h
-#define DOMWindowQuota_h
+#pragma once
#if ENABLE(QUOTA)
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // DOMWindowQuota_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NavigatorStorageQuota_h
-#define NavigatorStorageQuota_h
+#pragma once
#if ENABLE(QUOTA)
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // NavigatorStorageQuota_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef StorageErrorCallback_h
-#define StorageErrorCallback_h
+#pragma once
#if ENABLE(QUOTA)
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // StorageErrorCallback_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef StorageInfo_h
-#define StorageInfo_h
+#pragma once
#if ENABLE(QUOTA)
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // StorageInfo_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef StorageQuota_h
-#define StorageQuota_h
+#pragma once
#if ENABLE(QUOTA)
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // StorageQuota_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef StorageQuotaCallback_h
-#define StorageQuotaCallback_h
+#pragma once
#if ENABLE(QUOTA)
virtual bool handleEvent(unsigned long long grantedQuotaInBytes) = 0;
};
-} // namespace
+} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // StorageQuotaCallback_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef StorageUsageCallback_h
-#define StorageUsageCallback_h
+#pragma once
#if ENABLE(QUOTA)
virtual bool handleEvent(unsigned long long currentUsageInBytes, unsigned long long currentQuotaInBytes) = 0;
};
-} // namespace
+} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // StorageUsageCallback_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WorkerNavigatorStorageQuota_h
-#define WorkerNavigatorStorageQuota_h
+#pragma once
#if ENABLE(QUOTA)
} // namespace WebCore
#endif // ENABLE(QUOTA)
-
-#endif // WorkerNavigatorStorageQuota_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMWindowSpeechSynthesis_h
-#define DOMWindowSpeechSynthesis_h
+#pragma once
#if ENABLE(SPEECH_SYNTHESIS)
} // namespace WebCore
#endif // ENABLE(SPEECH_SYNTHESIS)
-
-#endif // DOMWindowSpeechSynthesis_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SpeechSynthesis_h
-#define SpeechSynthesis_h
+#pragma once
#if ENABLE(SPEECH_SYNTHESIS)
} // namespace WebCore
#endif // ENABLE(SPEECH_SYNTHESIS)
-
-#endif // SpeechSynthesisEvent_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SpeechSynthesisEvent_h
-#define SpeechSynthesisEvent_h
+#pragma once
#if ENABLE(SPEECH_SYNTHESIS)
} // namespace WebCore
#endif // ENABLE(SPEECH_SYNTHESIS)
-
-#endif // SpeechSynthesisEvent_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SpeechSynthesisUtterance_h
-#define SpeechSynthesisUtterance_h
+#pragma once
#if ENABLE(SPEECH_SYNTHESIS)
} // namespace WebCore
#endif // ENABLE(SPEECH_SYNTHESIS)
-
-#endif // SpeechSynthesisUtterance_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SpeechSynthesisVoice_h
-#define SpeechSynthesisVoice_h
+#pragma once
#if ENABLE(SPEECH_SYNTHESIS)
} // namespace WebCore
#endif // ENABLE(SPEECH_SYNTHESIS)
-
-#endif // SpeechSynthesisVoice_h
* Boston, MA 02110-1301, USA.
*/
-#ifndef NavigatorVibration_h
-#define NavigatorVibration_h
+#pragma once
#if ENABLE(VIBRATION)
namespace WebCore {
class Navigator;
-class Uint32Array;
class NavigatorVibration {
public:
} // namespace WebCore
#endif // ENABLE(VIBRATION)
-
-#endif // NavigatorVibration_h
-
* Boston, MA 02110-1301, USA.
*/
-#ifndef Vibration_h
-#define Vibration_h
+#pragma once
#if ENABLE(VIBRATION)
} // namespace WebCore
#endif // ENABLE(VIBRATION)
-
-#endif // Vibration_h
-
* Boston, MA 02110-1301, USA.
*/
-#ifndef VibrationClient_h
-#define VibrationClient_h
+#pragma once
namespace WebCore {
void provideVibrationTo(Page*, VibrationClient*);
} // namespace WebCore
-
-#endif // VibrationClient_h
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AsyncAudioDecoder_h
-#define AsyncAudioDecoder_h
+#pragma once
#include <memory>
#include <wtf/Forward.h>
};
} // namespace WebCore
-
-#endif // AsyncAudioDecoder_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioBasicProcessorNode_h
-#define AudioBasicProcessorNode_h
+#pragma once
#include "AudioNode.h"
#include <memory>
};
} // namespace WebCore
-
-#endif // AudioBasicProcessorNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioBufferCallback_h
-#define AudioBufferCallback_h
+#pragma once
#if ENABLE(WEB_AUDIO)
virtual bool handleEvent(AudioBuffer*) = 0;
};
-} // namespace
+} // namespace WebCore
#endif // ENABLE(WEB_AUDIO)
-
-#endif // AudioBufferCallback_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioDestinationNode_h
-#define AudioDestinationNode_h
+#pragma once
#include "AudioBuffer.h"
#include "AudioBus.h"
namespace WebCore {
-class AudioBus;
class AudioContext;
class AudioDestinationNode : public AudioNode, public AudioIOCallback {
};
} // namespace WebCore
-
-#endif // AudioDestinationNode_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioListener_h
-#define AudioListener_h
+#pragma once
#include "FloatPoint3D.h"
#include <wtf/Ref.h>
double m_speedOfSound;
};
-} // WebCore
-
-#endif // AudioListener_h
+} // namespace WebCore
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioNodeInput_h
-#define AudioNodeInput_h
+#pragma once
#include "AudioBus.h"
#include "AudioNode.h"
};
} // namespace WebCore
-
-#endif // AudioNodeInput_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioNodeOutput_h
-#define AudioNodeOutput_h
+#pragma once
#include "AudioBus.h"
#include "AudioNode.h"
};
} // namespace WebCore
-
-#endif // AudioNodeOutput_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioParam_h
-#define AudioParam_h
+#pragma once
#include "AudioContext.h"
#include "AudioParamTimeline.h"
};
} // namespace WebCore
-
-#endif // AudioParam_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioParamTimeline_h
-#define AudioParamTimeline_h
+#pragma once
#include "AudioContext.h"
#include <runtime/Float32Array.h>
};
} // namespace WebCore
-
-#endif // AudioParamTimeline_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioProcessingEvent_h
-#define AudioProcessingEvent_h
+#pragma once
#include "AudioBuffer.h"
#include "Event.h"
};
} // namespace WebCore
-
-#endif // AudioProcessingEvent_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AudioSummingJunction_h
-#define AudioSummingJunction_h
+#pragma once
#include "AudioBus.h"
#include <wtf/HashSet.h>
};
} // namespace WebCore
-
-#endif // AudioSummingJunction_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef BiquadDSPKernel_h
-#define BiquadDSPKernel_h
+#pragma once
#include "AudioDSPKernel.h"
#include "Biquad.h"
};
} // namespace WebCore
-
-#endif // BiquadDSPKernel_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef BiquadFilterNode_h
-#define BiquadFilterNode_h
+#pragma once
#include "AudioBasicProcessorNode.h"
#include "BiquadProcessor.h"
};
} // namespace WebCore
-
-#endif // BiquadFilterNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef BiquadProcessor_h
-#define BiquadProcessor_h
+#pragma once
#include "AudioDSPKernel.h"
#include "AudioDSPKernelProcessor.h"
};
} // namespace WebCore
-
-#endif // BiquadProcessor_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ChannelMergerNode_h
-#define ChannelMergerNode_h
+#pragma once
#include "AudioNode.h"
};
} // namespace WebCore
-
-#endif // ChannelMergerNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ChannelSplitterNode_h
-#define ChannelSplitterNode_h
+#pragma once
#include "AudioNode.h"
};
} // namespace WebCore
-
-#endif // ChannelSplitterNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DelayDSPKernel_h
-#define DelayDSPKernel_h
+#pragma once
#include "AudioArray.h"
#include "AudioDSPKernel.h"
};
} // namespace WebCore
-
-#endif // DelayDSPKernel_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DelayProcessor_h
-#define DelayProcessor_h
+#pragma once
#include "AudioDSPKernelProcessor.h"
#include "AudioParam.h"
};
} // namespace WebCore
-
-#endif // DelayProcessor_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DynamicsCompressorNode_h
-#define DynamicsCompressorNode_h
+#pragma once
#include "AudioNode.h"
#include "AudioParam.h"
};
} // namespace WebCore
-
-#endif // DynamicsCompressorNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GainNode_h
-#define GainNode_h
+#pragma once
#include "AudioNode.h"
#include "AudioParam.h"
};
} // namespace WebCore
-
-#endif // GainNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaElementAudioSourceNode_h
-#define MediaElementAudioSourceNode_h
+#pragma once
#if ENABLE(WEB_AUDIO) && ENABLE(VIDEO)
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO) && ENABLE(VIDEO)
-
-#endif // MediaElementAudioSourceNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStreamAudioDestinationNode_h
-#define MediaStreamAudioDestinationNode_h
+#pragma once
#if ENABLE(WEB_AUDIO) && ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO) && ENABLE(MEDIA_STREAM)
-
-#endif // MediaStreamAudioDestinationNode_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStreamAudioSource_h
-#define MediaStreamAudioSource_h
+#pragma once
#if ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(MEDIA_STREAM)
-
-#endif // MediaStreamAudioSource_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef MediaStreamAudioSourceNode_h
-#define MediaStreamAudioSourceNode_h
+#pragma once
#if ENABLE(WEB_AUDIO) && ENABLE(MEDIA_STREAM)
} // namespace WebCore
#endif // ENABLE(WEB_AUDIO) && ENABLE(MEDIA_STREAM)
-
-#endif // MediaStreamAudioSourceNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef OfflineAudioCompletionEvent_h
-#define OfflineAudioCompletionEvent_h
+#pragma once
#include "AudioBuffer.h"
#include "Event.h"
namespace WebCore {
-class AudioBuffer;
-
class OfflineAudioCompletionEvent : public Event {
public:
static Ref<OfflineAudioCompletionEvent> create(RefPtr<AudioBuffer>&& renderedBuffer);
};
} // namespace WebCore
-
-#endif // OfflineAudioCompletionEvent_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef OfflineAudioDestinationNode_h
-#define OfflineAudioDestinationNode_h
+#pragma once
#include "AudioBuffer.h"
#include "AudioDestinationNode.h"
};
} // namespace WebCore
-
-#endif // OfflineAudioDestinationNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PannerNode_h
-#define PannerNode_h
+#pragma once
#include "AudioBus.h"
#include "AudioListener.h"
};
} // namespace WebCore
-
-#endif // PannerNode_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PeriodicWave_h
-#define PeriodicWave_h
+#pragma once
#include "AudioArray.h"
#include <memory>
};
} // namespace WebCore
-
-#endif // PeriodicWave_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RealtimeAnalyser_h
-#define RealtimeAnalyser_h
+#pragma once
#include "AudioArray.h"
#include "FFTFrame.h"
};
} // namespace WebCore
-
-#endif // RealtimeAnalyser_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ScriptProcessorNode_h
-#define ScriptProcessorNode_h
+#pragma once
#include "ActiveDOMObject.h"
#include "AudioBus.h"
};
} // namespace WebCore
-
-#endif // ScriptProcessorNode_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WaveShaperDSPKernel_h
-#define WaveShaperDSPKernel_h
+#pragma once
#include "AudioArray.h"
#include "AudioDSPKernel.h"
namespace WebCore {
-class WaveShaperProcessor;
-
// WaveShaperDSPKernel is an AudioDSPKernel and is responsible for non-linear distortion on one channel.
class WaveShaperDSPKernel : public AudioDSPKernel {
};
} // namespace WebCore
-
-#endif // WaveShaperDSPKernel_h
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WaveShaperProcessor_h
-#define WaveShaperProcessor_h
+#pragma once
#include "AudioDSPKernel.h"
#include "AudioDSPKernelProcessor.h"
};
} // namespace WebCore
-
-#endif // WaveShaperProcessor_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AbstractDatabaseServer_h
-#define AbstractDatabaseServer_h
+#pragma once
#include "DatabaseBasicTypes.h"
#include "DatabaseDetails.h"
};
} // namespace WebCore
-
-#endif // AbstractDatabaseServer_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ChangeVersionData_h
-#define ChangeVersionData_h
+#pragma once
#include <wtf/text/WTFString.h>
};
} // namespace WebCore
-
-#endif // ChangeVersionData_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ChangeVersionWrapper_h
-#define ChangeVersionWrapper_h
+
+#pragma once
#include "SQLTransaction.h"
#include <wtf/Forward.h>
};
} // namespace WebCore
-
-#endif // ChangeVersionWrapper_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef Database_h
-#define Database_h
+#pragma once
#include "DatabaseBasicTypes.h"
#include "DatabaseError.h"
};
} // namespace WebCore
-
-#endif // Database_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseAuthorizer_h
-#define DatabaseAuthorizer_h
+
+#pragma once
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
};
} // namespace WebCore
-
-#endif // DatabaseAuthorizer_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseBasicTypes_h
-#define DatabaseBasicTypes_h
+#pragma once
namespace WebCore {
typedef int ExceptionCode;
} // namespace WebCore
-
-#endif // DatabaseBasicTypes_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseCallback_h
-#define DatabaseCallback_h
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
namespace WebCore {
class Database;
-class DatabaseSync;
class DatabaseCallback : public ThreadSafeRefCounted<DatabaseCallback> {
public:
virtual bool handleEvent(Database*) = 0;
};
-}
-
-#endif // DatabaseCallback_h
+} // namespace WebCore
*
*/
-#ifndef DatabaseContext_h
-#define DatabaseContext_h
+#pragma once
#include "ActiveDOMObject.h"
#include <wtf/RefPtr.h>
};
} // namespace WebCore
-
-#endif // DatabaseContext_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseDetails_h
-#define DatabaseDetails_h
+#pragma once
#include <thread>
#include <wtf/text/WTFString.h>
};
} // namespace WebCore
-
-#endif // DatabaseDetails_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseError_h
-#define DatabaseError_h
+#pragma once
namespace WebCore {
};
} // namespace WebCore
-
-#endif // DatabaseError_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseManager_h
-#define DatabaseManager_h
+#pragma once
#include "DatabaseBasicTypes.h"
#include "DatabaseDetails.h"
class DatabaseCallback;
class DatabaseContext;
class DatabaseManagerClient;
-class DatabaseSync;
class DatabaseTaskSynchronizer;
class SecurityOrigin;
class ScriptExecutionContext;
};
} // namespace WebCore
-
-#endif // DatabaseManager_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseManagerClient_h
-#define DatabaseManagerClient_h
+
+#pragma once
#include <wtf/Forward.h>
};
} // namespace WebCore
-
-#endif // DatabaseManagerClient_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseServer_h
-#define DatabaseServer_h
+#pragma once
#include "AbstractDatabaseServer.h"
};
} // namespace WebCore
-
-#endif // DatabaseServer_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseTask_h
-#define DatabaseTask_h
+
+#pragma once
#include "DatabaseBasicTypes.h"
#include "DatabaseError.h"
};
} // namespace WebCore
-
-#endif // DatabaseTask_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseThread_h
-#define DatabaseThread_h
+
+#pragma once
#include <memory>
#include <wtf/Deque.h>
};
} // namespace WebCore
-
-#endif // DatabaseThread_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DatabaseTracker_h
-#define DatabaseTracker_h
+#pragma once
#include "DatabaseDetails.h"
#include "DatabaseError.h"
};
} // namespace WebCore
-
-#endif // DatabaseTracker_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef OriginLock_h
-#define OriginLock_h
+#pragma once
#include "FileSystem.h"
#include <wtf/Lock.h>
};
} // namespace WebCore
-
-#endif // OriginLock_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLCallbackWrapper_h
-#define SQLCallbackWrapper_h
+
+#pragma once
#include "ScriptExecutionContext.h"
#include <wtf/Lock.h>
};
} // namespace WebCore
-
-#endif // SQLCallbackWrapper_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLError_h
-#define SQLError_h
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
#include <wtf/text/WTFString.h>
String m_message;
};
-}
-
-#endif // SQLError_h
+} // namespace WebCore
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLException_h
-#define SQLException_h
+#pragma once
#include "ExceptionBase.h"
};
} // namespace WebCore
-
-#endif // SQLException_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLResultSetRowList_h
-#define SQLResultSetRowList_h
+#pragma once
#include <wtf/RefCounted.h>
#include "SQLValue.h"
Vector<SQLValue> m_result;
};
-}
-
-#endif
+} // namespace WebCore
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLStatement_h
-#define SQLStatement_h
+
+#pragma once
#include "SQLCallbackWrapper.h"
#include "SQLStatementCallback.h"
};
} // namespace WebCore
-
-#endif // SQLStatement_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLStatementCallback_h
-#define SQLStatementCallback_h
+
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
virtual bool handleEvent(SQLTransaction*, SQLResultSet*) = 0;
};
-}
-
-#endif // SQLStatementErrorCallback_h
+} // namespace WebCore
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLStatementErrorCallback_h
-#define SQLStatementErrorCallback_h
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
virtual bool handleEvent(SQLTransaction*, SQLError*) = 0;
};
-}
-
-#endif // SQLStatementErrorCallback_h
+} // namespace WebCore
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransaction_h
-#define SQLTransaction_h
+#pragma once
#include "EventTarget.h"
#include "SQLCallbackWrapper.h"
};
} // namespace WebCore
-
-#endif // SQLTransaction_h
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionBackend_h
-#define SQLTransactionBackend_h
+
+#pragma once
#include "DatabaseBasicTypes.h"
#include "SQLTransactionStateMachine.h"
};
} // namespace WebCore
-
-#endif // SQLTransactionBackend_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionCallback_h
-#define SQLTransactionCallback_h
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
virtual bool handleEvent(SQLTransaction*) = 0;
};
-}
-
-#endif // SQLTransactionCallback_h
+} // namespace WebCore
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionClient_h
-#define SQLTransactionClient_h
+#pragma once
#include <wtf/FastMalloc.h>
#include <wtf/Noncopyable.h>
bool didExceedQuota(Database*);
};
-}
-
-#endif // SQLTransactionClient_h
+} // namespace WebCore
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionCoordinator_h
-#define SQLTransactionCoordinator_h
+#pragma once
#include <wtf/Deque.h>
#include <wtf/HashMap.h>
};
} // namespace WebCore
-
-#endif // SQLTransactionCoordinator_h
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionErrorCallback_h
-#define SQLTransactionErrorCallback_h
+#pragma once
#include <wtf/ThreadSafeRefCounted.h>
virtual bool handleEvent(SQLError*) = 0;
};
-}
-
-#endif // SQLTransactionErrorCallback_h
+} // namespace WebCore
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionState_h
-#define SQLTransactionState_h
+#pragma once
namespace WebCore {
};
} // namespace WebCore
-
-#endif // SQLTransactionState_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SQLTransactionStateMachine_h
-#define SQLTransactionStateMachine_h
+#pragma once
#include "SQLTransactionState.h"
#include <wtf/ThreadSafeRefCounted.h>
}
} // namespace WebCore
-
-#endif // SQLTransactionStateMachine_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CloseEvent_h
-#define CloseEvent_h
+#pragma once
#include "Event.h"
#include "EventNames.h"
};
} // namespace WebCore
-
-#endif // CloseEvent_h
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebSocketDeflateFramer_h
-#define WebSocketDeflateFramer_h
+#pragma once
#if&