Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Side by Side Diff: Source/bindings/core/v8/SerializedScriptValue.h

Issue 1112793002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing buildIssues Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 class BlobDataHandle; 48 class BlobDataHandle;
49 class DOMArrayBuffer; 49 class DOMArrayBuffer;
50 class ExceptionState; 50 class ExceptionState;
51 class MessagePort; 51 class MessagePort;
52 class WebBlobInfo; 52 class WebBlobInfo;
53 53
54 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray; 54 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray;
55 typedef Vector<RefPtr<DOMArrayBuffer>, 1> ArrayBufferArray; 55 typedef Vector<RefPtr<DOMArrayBuffer>, 1> ArrayBufferArray;
56 typedef HashMap<String, RefPtr<BlobDataHandle>> BlobDataHandleMap; 56 typedef HashMap<String, RefPtr<BlobDataHandle>> BlobDataHandleMap;
57 typedef Vector<blink::WebBlobInfo> WebBlobInfoArray; 57 typedef Vector<WebBlobInfo> WebBlobInfoArray;
58 58
59 class CORE_EXPORT SerializedScriptValue : public ThreadSafeRefCounted<Serialized ScriptValue> { 59 class CORE_EXPORT SerializedScriptValue : public ThreadSafeRefCounted<Serialized ScriptValue> {
60 public: 60 public:
61 // Increment this for each incompatible change to the wire format. 61 // Increment this for each incompatible change to the wire format.
62 // Version 2: Added StringUCharTag for UChar v8 strings. 62 // Version 2: Added StringUCharTag for UChar v8 strings.
63 // Version 3: Switched to using uuids as blob data identifiers. 63 // Version 3: Switched to using uuids as blob data identifiers.
64 // Version 4: Extended File serialization to be complete. 64 // Version 4: Extended File serialization to be complete.
65 // Version 5: Added CryptoKeyTag for Key objects. 65 // Version 5: Added CryptoKeyTag for Key objects.
66 // Version 6: Added indexed serialization for File, Blob, and FileList. 66 // Version 6: Added indexed serialization for File, Blob, and FileList.
67 // Version 7: Extended File serialization with user visibility. 67 // Version 7: Extended File serialization with user visibility.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 OwnPtr<ArrayBufferContentsArray> m_arrayBufferContentsArray; 120 OwnPtr<ArrayBufferContentsArray> m_arrayBufferContentsArray;
121 BlobDataHandleMap m_blobDataHandles; 121 BlobDataHandleMap m_blobDataHandles;
122 intptr_t m_externallyAllocatedMemory; 122 intptr_t m_externallyAllocatedMemory;
123 123
124 friend class SerializedScriptValueFactory; 124 friend class SerializedScriptValueFactory;
125 }; 125 };
126 126
127 } // namespace blink 127 } // namespace blink
128 128
129 #endif // SerializedScriptValue_h 129 #endif // SerializedScriptValue_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptStreamerThread.cpp ('k') | Source/bindings/core/v8/V8Initializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698