| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 } | 43 } |
| 44 | 44 |
| 45 namespace WTF { | 45 namespace WTF { |
| 46 | 46 |
| 47 class ArrayBuffer; | 47 class ArrayBuffer; |
| 48 class ArrayBufferContents; | 48 class ArrayBufferContents; |
| 49 | 49 |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace WebCore { | 52 namespace blink { |
| 53 | 53 |
| 54 class BlobDataHandle; | 54 class BlobDataHandle; |
| 55 class ExceptionState; | 55 class ExceptionState; |
| 56 class MessagePort; | 56 class MessagePort; |
| 57 | 57 |
| 58 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray; | 58 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray; |
| 59 typedef Vector<RefPtr<WTF::ArrayBuffer>, 1> ArrayBufferArray; | 59 typedef Vector<RefPtr<WTF::ArrayBuffer>, 1> ArrayBufferArray; |
| 60 typedef HashMap<String, RefPtr<BlobDataHandle> > BlobDataHandleMap; | 60 typedef HashMap<String, RefPtr<BlobDataHandle> > BlobDataHandleMap; |
| 61 typedef Vector<blink::WebBlobInfo> WebBlobInfoArray; | 61 typedef Vector<blink::WebBlobInfo> WebBlobInfoArray; |
| 62 | 62 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 explicit SerializedScriptValue(const String& wireData); | 122 explicit SerializedScriptValue(const String& wireData); |
| 123 | 123 |
| 124 static PassOwnPtr<ArrayBufferContentsArray> transferArrayBuffers(ArrayBuffer
Array&, ExceptionState&, v8::Isolate*); | 124 static PassOwnPtr<ArrayBufferContentsArray> transferArrayBuffers(ArrayBuffer
Array&, ExceptionState&, v8::Isolate*); |
| 125 | 125 |
| 126 String m_data; | 126 String m_data; |
| 127 OwnPtr<ArrayBufferContentsArray> m_arrayBufferContentsArray; | 127 OwnPtr<ArrayBufferContentsArray> m_arrayBufferContentsArray; |
| 128 BlobDataHandleMap m_blobDataHandles; | 128 BlobDataHandleMap m_blobDataHandles; |
| 129 intptr_t m_externallyAllocatedMemory; | 129 intptr_t m_externallyAllocatedMemory; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace WebCore | 132 } // namespace blink |
| 133 | 133 |
| 134 #endif // SerializedScriptValue_h | 134 #endif // SerializedScriptValue_h |
| OLD | NEW |