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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.h

Issue 2753863003: Clarify Beacon transmission limit checking. (Closed)
Patch Set: rebased upto r459528 Created 3 years, 9 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/core/loader/PingLoader.h
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.h b/third_party/WebKit/Source/core/loader/PingLoader.h
index c2105a13f90ba0d5e700ad42ff3ed476f0f07196..dc47bf82d1dd89c4be0224d3f51754b261865ce0 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.h
+++ b/third_party/WebKit/Source/core/loader/PingLoader.h
@@ -78,14 +78,14 @@ class CORE_EXPORT PingLoader {
// The last argument is guaranteed to be set to the size of payload if
// these method return true. If these method returns false, the value
// shouldn't be used.
- static bool sendBeacon(LocalFrame*, int, const KURL&, const String&, int&);
+ static bool sendBeacon(LocalFrame*, int, const KURL&, const String&, size_t&);
static bool sendBeacon(LocalFrame*,
int,
const KURL&,
DOMArrayBufferView*,
- int&);
- static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, int&);
- static bool sendBeacon(LocalFrame*, int, const KURL&, FormData*, int&);
+ size_t&);
+ static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, size_t&);
+ static bool sendBeacon(LocalFrame*, int, const KURL&, FormData*, size_t&);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/Settings.json5 ('k') | third_party/WebKit/Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698