| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 // Serialization offsets. Format: [DATA_TYPE_ID][DATA]. | 115 // Serialization offsets. Format: [DATA_TYPE_ID][DATA]. |
| 116 static const size_t dataTypeIDStart = 0; | 116 static const size_t dataTypeIDStart = 0; |
| 117 static const size_t dataStart = sizeof(unsigned); | 117 static const size_t dataStart = sizeof(unsigned); |
| 118 | 118 |
| 119 // Since the serialization format supports random access, storing it in | 119 // Since the serialization format supports random access, storing it in |
| 120 // serialized form avoids need for a copy during serialization. | 120 // serialized form avoids need for a copy during serialization. |
| 121 Vector<char> m_serializedData; | 121 Vector<char> m_serializedData; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } | 124 } // namespace blink |
| 125 | 125 |
| 126 #endif | 126 #endif |
| OLD | NEW |