OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const KURL& pingURL, | 71 const KURL& pingURL, |
72 const KURL& destinationURL); | 72 const KURL& destinationURL); |
73 static void sendViolationReport(LocalFrame*, | 73 static void sendViolationReport(LocalFrame*, |
74 const KURL& reportURL, | 74 const KURL& reportURL, |
75 PassRefPtr<EncodedFormData> report, | 75 PassRefPtr<EncodedFormData> report, |
76 ViolationReportType); | 76 ViolationReportType); |
77 | 77 |
78 // The last argument is guaranteed to be set to the size of payload if | 78 // The last argument is guaranteed to be set to the size of payload if |
79 // these method return true. If these method returns false, the value | 79 // these method return true. If these method returns false, the value |
80 // shouldn't be used. | 80 // shouldn't be used. |
81 static bool sendBeacon(LocalFrame*, int, const KURL&, const String&, int&); | 81 static bool sendBeacon(LocalFrame*, int, const KURL&, const String&, size_t&); |
82 static bool sendBeacon(LocalFrame*, | 82 static bool sendBeacon(LocalFrame*, |
83 int, | 83 int, |
84 const KURL&, | 84 const KURL&, |
85 DOMArrayBufferView*, | 85 DOMArrayBufferView*, |
86 int&); | 86 size_t&); |
87 static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, int&); | 87 static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, size_t&); |
88 static bool sendBeacon(LocalFrame*, int, const KURL&, FormData*, int&); | 88 static bool sendBeacon(LocalFrame*, int, const KURL&, FormData*, size_t&); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace blink | 91 } // namespace blink |
92 | 92 |
93 #endif // PingLoader_h | 93 #endif // PingLoader_h |
OLD | NEW |