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

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

Issue 11184033: Merge 131658 - IndexedDB: Enforce unsigned long/unsigned long long ranges (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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) 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 void continueFunction(ExceptionCode& ec) { continueFunction(0, ec); } 68 void continueFunction(ExceptionCode& ec) { continueFunction(0, ec); }
69 69
70 // Implement the IDL 70 // Implement the IDL
71 const String& direction() const; 71 const String& direction() const;
72 PassRefPtr<IDBKey> key() const; 72 PassRefPtr<IDBKey> key() const;
73 PassRefPtr<IDBKey> primaryKey() const; 73 PassRefPtr<IDBKey> primaryKey() const;
74 PassRefPtr<IDBAny> value(); 74 PassRefPtr<IDBAny> value();
75 IDBAny* source() const; 75 IDBAny* source() const;
76 76
77 PassRefPtr<IDBRequest> update(ScriptExecutionContext*, ScriptValue&, Excepti onCode&); 77 PassRefPtr<IDBRequest> update(ScriptExecutionContext*, ScriptValue&, Excepti onCode&);
78 void advance(unsigned long, ExceptionCode&); 78 void advance(long, ExceptionCode&);
79 void continueFunction(PassRefPtr<IDBKey>, ExceptionCode&); 79 void continueFunction(PassRefPtr<IDBKey>, ExceptionCode&);
80 PassRefPtr<IDBRequest> deleteFunction(ScriptExecutionContext*, ExceptionCode &); 80 PassRefPtr<IDBRequest> deleteFunction(ScriptExecutionContext*, ExceptionCode &);
81 81
82 void postSuccessHandlerCallback(); 82 void postSuccessHandlerCallback();
83 void close(); 83 void close();
84 void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Script Value&); 84 void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Script Value&);
85 85
86 // The spec requires that the script object that wraps the value 86 // The spec requires that the script object that wraps the value
87 // be unchanged until the value changes as a result of the cursor 87 // be unchanged until the value changes as a result of the cursor
88 // advancing. 88 // advancing.
(...skipping 19 matching lines...) Expand all
108 RefPtr<IDBKey> m_currentPrimaryKey; 108 RefPtr<IDBKey> m_currentPrimaryKey;
109 RefPtr<IDBAny> m_currentValue; 109 RefPtr<IDBAny> m_currentValue;
110 bool m_valueIsDirty; 110 bool m_valueIsDirty;
111 }; 111 };
112 112
113 } // namespace WebCore 113 } // namespace WebCore
114 114
115 #endif 115 #endif
116 116
117 #endif // IDBCursor_h 117 #endif // IDBCursor_h
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/intversion-encoding.js ('k') | Source/WebCore/Modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698