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

Side by Side Diff: third_party/WebKit/Source/core/loader/PingLoader.h

Issue 2383403002: Reflow comments in core/loader (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class Blob; 48 class Blob;
49 class DOMArrayBufferView; 49 class DOMArrayBufferView;
50 class EncodedFormData; 50 class EncodedFormData;
51 class FormData; 51 class FormData;
52 class LocalFrame; 52 class LocalFrame;
53 class KURL; 53 class KURL;
54 class ResourceRequest; 54 class ResourceRequest;
55 class SecurityOrigin; 55 class SecurityOrigin;
56 56
57 // Issue an asynchronous, one-directional request at some resources, ignoring 57 // Issue an asynchronous, one-directional request at some resources, ignoring
58 // any response. The request is made independent of any LocalFrame staying alive , 58 // any response. The request is made independent of any LocalFrame staying
59 // and must only stay alive until the transmission has completed successfully 59 // alive, and must only stay alive until the transmission has completed
60 // (or not -- errors are not propagated back either.) Upon transmission, the 60 // successfully (or not -- errors are not propagated back either.) Upon
61 // the load is cancelled and the loader cancels itself. 61 // transmission, the the load is cancelled and the loader cancels itself.
62 // 62 //
63 // The ping loader is used by audit pings, beacon transmissions and image loads 63 // The ping loader is used by audit pings, beacon transmissions and image loads
64 // during page unloading. 64 // during page unloading.
65 class CORE_EXPORT PingLoader { 65 class CORE_EXPORT PingLoader {
66 public: 66 public:
67 enum ViolationReportType { 67 enum ViolationReportType {
68 ContentSecurityPolicyViolationReport, 68 ContentSecurityPolicyViolationReport,
69 XSSAuditorViolationReport 69 XSSAuditorViolationReport
70 }; 70 };
71 71
(...skipping 15 matching lines...) Expand all
87 const KURL&, 87 const KURL&,
88 DOMArrayBufferView*, 88 DOMArrayBufferView*,
89 int&); 89 int&);
90 static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, int&); 90 static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, int&);
91 static bool sendBeacon(LocalFrame*, int, const KURL&, FormData*, int&); 91 static bool sendBeacon(LocalFrame*, int, const KURL&, FormData*, int&);
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // PingLoader_h 96 #endif // PingLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698