| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 static void start(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&,
StoredCredentials = AllowStoredCredentials); | 82 static void start(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&,
StoredCredentials = AllowStoredCredentials); |
| 83 | 83 |
| 84 void dispose(); | 84 void dispose(); |
| 85 | 85 |
| 86 private: | 86 private: |
| 87 void didReceiveResponse(WebURLLoader*, const WebURLResponse&) final; | 87 void didReceiveResponse(WebURLLoader*, const WebURLResponse&) final; |
| 88 void didReceiveData(WebURLLoader*, const char*, int, int, int) final; | 88 void didReceiveData(WebURLLoader*, const char*, int, int, int) final; |
| 89 void didFinishLoading(WebURLLoader*, double, int64_t) final; | 89 void didFinishLoading(WebURLLoader*, double, int64_t) final; |
| 90 void didFail(WebURLLoader*, const WebURLError&) final; | 90 void didFail(WebURLLoader*, const WebURLError&) final; |
| 91 | 91 |
| 92 void timeout(Timer<PingLoader>*); | 92 void timeout(TimerBase*); |
| 93 | 93 |
| 94 void didFailLoading(LocalFrame*); | 94 void didFailLoading(LocalFrame*); |
| 95 | 95 |
| 96 std::unique_ptr<WebURLLoader> m_loader; | 96 std::unique_ptr<WebURLLoader> m_loader; |
| 97 Timer<PingLoader> m_timeout; | 97 Timer<PingLoader> m_timeout; |
| 98 String m_url; | 98 String m_url; |
| 99 unsigned long m_identifier; | 99 unsigned long m_identifier; |
| 100 SelfKeepAlive<PingLoader> m_keepAlive; | 100 SelfKeepAlive<PingLoader> m_keepAlive; |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace blink | 103 } // namespace blink |
| 104 | 104 |
| 105 #endif // PingLoader_h | 105 #endif // PingLoader_h |
| OLD | NEW |