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

Side by Side Diff: Source/WebCore/Modules/indexeddb/IDBCursor.h

Issue 11336016: Revert 128379 - IndexedDB: Use ScriptValue instead of SerializedScriptValue when possible (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /trunk/WebCore/Modules/indexeddb/IDBCursor.h:r53455
OLDNEW
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // FIXME: Try to modify the code generator so this is unneeded. 68 // FIXME: Try to modify the code generator so this is unneeded.
69 void continueFunction(ExceptionCode& ec) { continueFunction(0, ec); } 69 void continueFunction(ExceptionCode& ec) { continueFunction(0, ec); }
70 70
71 // Implement the IDL 71 // Implement the IDL
72 const String& direction() const; 72 const String& direction() const;
73 PassRefPtr<IDBKey> key() const; 73 PassRefPtr<IDBKey> key() const;
74 PassRefPtr<IDBKey> primaryKey() const; 74 PassRefPtr<IDBKey> primaryKey() const;
75 PassRefPtr<IDBAny> value(); 75 PassRefPtr<IDBAny> value();
76 IDBAny* source() const; 76 IDBAny* source() const;
77 77
78 PassRefPtr<IDBRequest> update(ScriptExecutionContext*, ScriptValue&, Excepti onCode&); 78 PassRefPtr<IDBRequest> update(ScriptExecutionContext*, PassRefPtr<Serialized ScriptValue>, ExceptionCode&);
79 void advance(long, ExceptionCode&); 79 void advance(long, ExceptionCode&);
80 void continueFunction(PassRefPtr<IDBKey>, ExceptionCode&); 80 void continueFunction(PassRefPtr<IDBKey>, ExceptionCode&);
81 PassRefPtr<IDBRequest> deleteFunction(ScriptExecutionContext*, ExceptionCode &); 81 PassRefPtr<IDBRequest> deleteFunction(ScriptExecutionContext*, ExceptionCode &);
82 82
83 void postSuccessHandlerCallback(); 83 void postSuccessHandlerCallback();
84 void close(); 84 void close();
85 void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRe fPtr<SerializedScriptValue>); 85 void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRe fPtr<SerializedScriptValue>);
86 86
87 // The spec requires that the script object that wraps the value 87 // The spec requires that the script object that wraps the value
88 // be unchanged until the value changes as a result of the cursor 88 // be unchanged until the value changes as a result of the cursor
(...skipping 20 matching lines...) Expand all
109 RefPtr<IDBKey> m_currentPrimaryKey; 109 RefPtr<IDBKey> m_currentPrimaryKey;
110 RefPtr<IDBAny> m_currentValue; 110 RefPtr<IDBAny> m_currentValue;
111 bool m_valueIsDirty; 111 bool m_valueIsDirty;
112 }; 112 };
113 113
114 } // namespace WebCore 114 } // namespace WebCore
115 115
116 #endif 116 #endif
117 117
118 #endif // IDBCursor_h 118 #endif // IDBCursor_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698