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

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: Supply argument names in decl 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..8f74da111e02ce6f38a740f8ef71586abe45df4a 100644
--- a/Source/modules/beacon/NavigatorBeacon.h
+++ b/Source/modules/beacon/NavigatorBeacon.h
@@ -43,7 +43,7 @@ private:
bool canSendBeacon(ExecutionContext*, const KURL&, ExceptionState&);
int maxAllowance() const;
- void updateTransmittedBytes(int);
+ bool beaconResult(ExecutionContext*, bool allowed, int sentBytes);
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