| 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 52b2f9c16dcf285206061a249ca4b9cdce334da4..eea2f920eabcba3bc4c57e24bfc9445b1461005c 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(ExecutionContext*,
|
| + const String&,
|
| + const ArrayBufferViewOrBlobOrStringOrFormData&,
|
| + ExceptionState&);
|
| bool canSendBeacon(ExecutionContext*, const KURL&, ExceptionState&);
|
| int maxAllowance() const;
|
| void addTransmittedBytes(int sentBytes);
|
|
|