| 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 |
| 11 * copyright notice, this list of conditions and the following disclaimer | 11 * copyright notice, this list of conditions and the following disclaimer |
| 12 * in the documentation and/or other materials provided with the | 12 * in the documentation and/or other materials provided with the |
| (...skipping 21 matching lines...) Expand all Loading... |
| 34 namespace WebCore { | 34 namespace WebCore { |
| 35 | 35 |
| 36 class ResourceResponse; | 36 class ResourceResponse; |
| 37 | 37 |
| 38 class ThreadableLoaderClient { | 38 class ThreadableLoaderClient { |
| 39 public: | 39 public: |
| 40 virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long
long /*totalBytesToBeSent*/) { } | 40 virtual void didSendData(unsigned long long /*bytesSent*/, unsigned long
long /*totalBytesToBeSent*/) { } |
| 41 | 41 |
| 42 virtual void didReceiveResponse(const ResourceResponse&) { } | 42 virtual void didReceiveResponse(const ResourceResponse&) { } |
| 43 virtual void didReceiveData(const char*, int /*lengthReceived*/) { } | 43 virtual void didReceiveData(const char*, int /*lengthReceived*/) { } |
| 44 virtual void didFinishLoading(unsigned long /*identifer*/) { } | 44 virtual void didFinishLoading(unsigned long /*identifier*/) { } |
| 45 virtual void didFail() { } | 45 virtual void didFail() { } |
| 46 virtual void didGetCancelled() { } | 46 virtual void didGetCancelled() { } |
| 47 | 47 |
| 48 virtual void didReceiveAuthenticationCancellation(const ResourceResponse
&) { } | 48 virtual void didReceiveAuthenticationCancellation(const ResourceResponse
&) { } |
| 49 | 49 |
| 50 protected: | 50 protected: |
| 51 virtual ~ThreadableLoaderClient() { } | 51 virtual ~ThreadableLoaderClient() { } |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace WebCore | 54 } // namespace WebCore |
| 55 | 55 |
| 56 #endif // ThreadableLoaderClient_h | 56 #endif // ThreadableLoaderClient_h |
| OLD | NEW |