Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1115)

Unified Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.h

Issue 2611133002: Remove ContextClient from NavigatorBeacon (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698