| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 class ResourceResponse; | 37 class ResourceResponse; |
| 38 | 38 |
| 39 class ThreadableLoaderClient { | 39 class ThreadableLoaderClient { |
| 40 public: | 40 public: |
| 41 virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long
long /*totalBytesToBeSent*/) { } | 41 virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long
long /*totalBytesToBeSent*/) { } |
| 42 | 42 |
| 43 virtual void didReceiveResponse(const ResourceResponse&) { } | 43 virtual void didReceiveResponse(const ResourceResponse&) { } |
| 44 virtual void didReceiveData(const char*, int /*lengthReceived*/) { } | 44 virtual void didReceiveData(const char*, int /*lengthReceived*/) { } |
| 45 virtual void didFinishLoading(unsigned long /*identifier*/) { } | 45 virtual void didFinishLoading(unsigned long /*identifier*/) { } |
| 46 virtual void didFail(const ResourceError&) { } | 46 virtual void didFail(const ResourceError&) { } |
| 47 virtual void didFailWillSendRequestCheck() { } | 47 virtual void didFailRedirectCheck() { } |
| 48 | 48 |
| 49 virtual void didReceiveAuthenticationCancellation(const ResourceResponse
&) { } | 49 virtual void didReceiveAuthenticationCancellation(const ResourceResponse
&) { } |
| 50 | 50 |
| 51 protected: | 51 protected: |
| 52 virtual ~ThreadableLoaderClient() { } | 52 virtual ~ThreadableLoaderClient() { } |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace WebCore | 55 } // namespace WebCore |
| 56 | 56 |
| 57 #endif // ThreadableLoaderClient_h | 57 #endif // ThreadableLoaderClient_h |
| OLD | NEW |