| 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 | 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 23 matching lines...) Expand all Loading... |
| 34 #include "public/platform/WebIDBCursor.h" | 34 #include "public/platform/WebIDBCursor.h" |
| 35 #include "public/platform/WebIDBTypes.h" | 35 #include "public/platform/WebIDBTypes.h" |
| 36 #include "wtf/PassRefPtr.h" | 36 #include "wtf/PassRefPtr.h" |
| 37 #include "wtf/RefPtr.h" | 37 #include "wtf/RefPtr.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class ExceptionState; | 41 class ExceptionState; |
| 42 class IDBAny; | 42 class IDBAny; |
| 43 class IDBTransaction; | 43 class IDBTransaction; |
| 44 class ExecutionContext; | 44 class ScriptState; |
| 45 class SharedBuffer; | 45 class SharedBuffer; |
| 46 class WebBlobInfo; | 46 class WebBlobInfo; |
| 47 | 47 |
| 48 class IDBCursor : public GarbageCollectedFinalized<IDBCursor>, public ScriptWrap
pable { | 48 class IDBCursor : public GarbageCollectedFinalized<IDBCursor>, public ScriptWrap
pable { |
| 49 DEFINE_WRAPPERTYPEINFO(); | 49 DEFINE_WRAPPERTYPEINFO(); |
| 50 USING_PRE_FINALIZER(IDBCursor, dispose); | 50 USING_PRE_FINALIZER(IDBCursor, dispose); |
| 51 public: | 51 public: |
| 52 static WebIDBCursorDirection stringToDirection(const String& modeString, Exc
eptionState&); | 52 static WebIDBCursorDirection stringToDirection(const String& modeString, Exc
eptionState&); |
| 53 | 53 |
| 54 static IDBCursor* create(PassOwnPtr<WebIDBCursor>, WebIDBCursorDirection, ID
BRequest*, IDBAny* source, IDBTransaction*); | 54 static IDBCursor* create(PassOwnPtr<WebIDBCursor>, WebIDBCursorDirection, ID
BRequest*, IDBAny* source, IDBTransaction*); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 bool m_valueDirty; | 102 bool m_valueDirty; |
| 103 Member<IDBKey> m_key; | 103 Member<IDBKey> m_key; |
| 104 Member<IDBKey> m_primaryKey; | 104 Member<IDBKey> m_primaryKey; |
| 105 RefPtr<SharedBuffer> m_value; | 105 RefPtr<SharedBuffer> m_value; |
| 106 OwnPtr<Vector<WebBlobInfo> > m_blobInfo; | 106 OwnPtr<Vector<WebBlobInfo> > m_blobInfo; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 } // namespace blink | 109 } // namespace blink |
| 110 | 110 |
| 111 #endif // IDBCursor_h | 111 #endif // IDBCursor_h |
| OLD | NEW |