| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // FIXME: Implement suspend() and resume() when necessary. | 84 // FIXME: Implement suspend() and resume() when necessary. |
| 85 void suspend() override; | 85 void suspend() override; |
| 86 void resume() override; | 86 void resume() override; |
| 87 void stop() override; | 87 void stop() override; |
| 88 | 88 |
| 89 DECLARE_VIRTUAL_TRACE(); | 89 DECLARE_VIRTUAL_TRACE(); |
| 90 | 90 |
| 91 protected: | 91 protected: |
| 92 Stream(ExecutionContext*, const String& mediaType); | 92 Stream(ExecutionContext*, const String& mediaType); |
| 93 | 93 |
| 94 // This is an internal URL referring to the blob data associated with this obj
ect. It serves | 94 // This is an internal URL referring to the blob data associated with this |
| 95 // as an identifier for this blob. The internal URL is never used to source th
e blob's content | 95 // object. It serves as an identifier for this blob. The internal URL is never |
| 96 // into an HTML or for FileRead'ing, public blob URLs must be used for those p
urposes. | 96 // used to source the blob's content into an HTML or for FileRead'ing, public |
| 97 // blob URLs must be used for those purposes. |
| 97 KURL m_internalURL; | 98 KURL m_internalURL; |
| 98 | 99 |
| 99 String m_mediaType; | 100 String m_mediaType; |
| 100 | 101 |
| 101 bool m_isNeutered; | 102 bool m_isNeutered; |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace blink | 105 } // namespace blink |
| 105 | 106 |
| 106 #endif // Stream_h | 107 #endif // Stream_h |
| OLD | NEW |