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

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

Issue 417943005: Add navigator.sendBeacon() use counters. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/beacon/NavigatorBeacon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/beacon/NavigatorBeacon.h
diff --git a/Source/modules/beacon/NavigatorBeacon.h b/Source/modules/beacon/NavigatorBeacon.h
index 9fb7e44e13ef310d0c3af1da968b8c61474e6473..e40b069c70c37281caf7bf792b4dbaa94df0993e 100644
--- a/Source/modules/beacon/NavigatorBeacon.h
+++ b/Source/modules/beacon/NavigatorBeacon.h
@@ -43,7 +43,8 @@ private:
bool canSendBeacon(ExecutionContext*, const KURL&, ExceptionState&);
int maxAllowance() const;
- void updateTransmittedBytes(int);
+
+ bool beaconResult(ExecutionContext*, bool, int);
tkent 2014/07/25 00:11:47 nit: It's hard to know what bool and int are. Ple
sof 2014/07/25 05:29:56 Yes, little bit too opaque without; done.
int m_transmittedBytes;
Navigator& m_navigator;
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/beacon/NavigatorBeacon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698