| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 ArrayBufferContentsArray* getArrayBufferContentsArray() { return m_arrayBuff
erContentsArray.get(); } | 125 ArrayBufferContentsArray* getArrayBufferContentsArray() { return m_arrayBuff
erContentsArray.get(); } |
| 126 ImageBitmapContentsArray* getImageBitmapContentsArray() { return m_imageBitm
apContentsArray.get(); } | 126 ImageBitmapContentsArray* getImageBitmapContentsArray() { return m_imageBitm
apContentsArray.get(); } |
| 127 | 127 |
| 128 private: | 128 private: |
| 129 String m_data; | 129 String m_data; |
| 130 std::unique_ptr<ArrayBufferContentsArray> m_arrayBufferContentsArray; | 130 std::unique_ptr<ArrayBufferContentsArray> m_arrayBufferContentsArray; |
| 131 std::unique_ptr<ImageBitmapContentsArray> m_imageBitmapContentsArray; | 131 std::unique_ptr<ImageBitmapContentsArray> m_imageBitmapContentsArray; |
| 132 BlobDataHandleMap m_blobDataHandles; | 132 BlobDataHandleMap m_blobDataHandles; |
| 133 intptr_t m_externallyAllocatedMemory; | 133 intptr_t m_externallyAllocatedMemory; |
| 134 | 134 |
| 135 // TODO(peria): remove SerializedScriptValueFactory from friend class |
| 135 friend class SerializedScriptValueFactory; | 136 friend class SerializedScriptValueFactory; |
| 137 friend class ScriptValueSerializer; |
| 136 }; | 138 }; |
| 137 | 139 |
| 138 } // namespace blink | 140 } // namespace blink |
| 139 | 141 |
| 140 #endif // SerializedScriptValue_h | 142 #endif // SerializedScriptValue_h |
| OLD | NEW |