Index: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h |
diff --git a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h |
index c03d8e71f0cddc487aa59ab898609b48f3df8bbf..423b894c6c29d70c806eb4cd829d4bca9d0e738d 100644 |
--- a/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h |
+++ b/third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h |
@@ -5,7 +5,6 @@ |
#ifndef NavigatorBeacon_h |
#define NavigatorBeacon_h |
-#include "core/dom/ContextLifecycleObserver.h" |
#include "core/frame/Navigator.h" |
#include "platform/Supplementable.h" |
#include "platform/heap/Handle.h" |
@@ -18,7 +17,6 @@ class KURL; |
class ArrayBufferViewOrBlobOrStringOrFormData; |
class NavigatorBeacon final : public GarbageCollectedFinalized<NavigatorBeacon>, |
- public ContextClient, |
public Supplement<Navigator> { |
USING_GARBAGE_COLLECTED_MIXIN(NavigatorBeacon); |
@@ -39,6 +37,10 @@ class NavigatorBeacon final : public GarbageCollectedFinalized<NavigatorBeacon>, |
static const char* supplementName(); |
+ bool sendBeaconImpl(ScriptState*, |
+ const String&, |
+ const ArrayBufferViewOrBlobOrStringOrFormData&, |
+ ExceptionState&); |
bool canSendBeacon(ExecutionContext*, const KURL&, ExceptionState&); |
int maxAllowance() const; |
void addTransmittedBytes(int sentBytes); |