| 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 26 matching lines...) Expand all Loading... |
| 37 #include "platform/Timer.h" | 37 #include "platform/Timer.h" |
| 38 #include "public/platform/WebURLLoaderClient.h" | 38 #include "public/platform/WebURLLoaderClient.h" |
| 39 #include "wtf/Noncopyable.h" | 39 #include "wtf/Noncopyable.h" |
| 40 #include "wtf/RefPtr.h" | 40 #include "wtf/RefPtr.h" |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class FormData; | 44 class FormData; |
| 45 class LocalFrame; | 45 class LocalFrame; |
| 46 class KURL; | 46 class KURL; |
| 47 class ResourceError; | |
| 48 class ResourceHandle; | |
| 49 class ResourceRequest; | 47 class ResourceRequest; |
| 50 class ResourceResponse; | |
| 51 | 48 |
| 52 // Issue an asynchronous, one-directional request at some resources, ignoring | 49 // Issue an asynchronous, one-directional request at some resources, ignoring |
| 53 // any response. The request is made independent of any LocalFrame staying alive
, | 50 // any response. The request is made independent of any LocalFrame staying alive
, |
| 54 // and must only stay alive until the transmission has completed successfully | 51 // and must only stay alive until the transmission has completed successfully |
| 55 // (or not -- errors are not propagated back either.) Upon transmission, the | 52 // (or not -- errors are not propagated back either.) Upon transmission, the |
| 56 // the load is cancelled and the loader cancels itself. | 53 // the load is cancelled and the loader cancels itself. |
| 57 // | 54 // |
| 58 // The ping loader is used by audit pings, beacon transmissions and image loads | 55 // The ping loader is used by audit pings, beacon transmissions and image loads |
| 59 // during page unloading. | 56 // during page unloading. |
| 60 // | 57 // |
| (...skipping 27 matching lines...) Expand all Loading... |
| 88 | 85 |
| 89 OwnPtr<blink::WebURLLoader> m_loader; | 86 OwnPtr<blink::WebURLLoader> m_loader; |
| 90 Timer<PingLoader> m_timeout; | 87 Timer<PingLoader> m_timeout; |
| 91 String m_url; | 88 String m_url; |
| 92 unsigned long m_identifier; | 89 unsigned long m_identifier; |
| 93 }; | 90 }; |
| 94 | 91 |
| 95 } | 92 } |
| 96 | 93 |
| 97 #endif // PingLoader_h | 94 #endif // PingLoader_h |
| OLD | NEW |