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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // type. | 60 // type. |
61 virtual void registerStreamURL(const WebURL&, const WebString&) { WEBKIT_ASS
ERT_NOT_REACHED(); } | 61 virtual void registerStreamURL(const WebURL&, const WebString&) { WEBKIT_ASS
ERT_NOT_REACHED(); } |
62 | 62 |
63 // Registers a stream URL referring to the stream identified by the | 63 // Registers a stream URL referring to the stream identified by the |
64 // specified srcURL. | 64 // specified srcURL. |
65 virtual void registerStreamURL(const WebURL&, const WebURL& srcURL) { WEBKIT
_ASSERT_NOT_REACHED(); }; | 65 virtual void registerStreamURL(const WebURL&, const WebURL& srcURL) { WEBKIT
_ASSERT_NOT_REACHED(); }; |
66 | 66 |
67 // Add data to the stream referred by the URL. | 67 // Add data to the stream referred by the URL. |
68 virtual void addDataToStream(const WebURL&, WebThreadSafeData&) { WEBKIT_ASS
ERT_NOT_REACHED(); } | 68 virtual void addDataToStream(const WebURL&, WebThreadSafeData&) { WEBKIT_ASS
ERT_NOT_REACHED(); } |
69 | 69 |
70 // Tell the registry that this stream won't receive any more data. | 70 // Tell the registry that construction of this stream has completed |
| 71 // successfully and so it won't receive any more data. |
71 virtual void finalizeStream(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(); } | 72 virtual void finalizeStream(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(); } |
72 | 73 |
| 74 // Tell the registry that construction of this stream has been aborted and |
| 75 // so it won't receive any more data. |
| 76 virtual void abortStream(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(); } |
| 77 |
73 // Unregisters a stream referred by the URL. | 78 // Unregisters a stream referred by the URL. |
74 virtual void unregisterStreamURL(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(
); } | 79 virtual void unregisterStreamURL(const WebURL&) { WEBKIT_ASSERT_NOT_REACHED(
); } |
75 }; | 80 }; |
76 | 81 |
77 } // namespace WebKit | 82 } // namespace WebKit |
78 | 83 |
79 #endif // WebBlobRegistry_h | 84 #endif // WebBlobRegistry_h |
OLD | NEW |