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; | |
jsbell
2014/10/13 18:43:21
Can you also remove the #include of ExecutionConte
| |
45 class SharedBuffer; | 44 class SharedBuffer; |
46 class WebBlobInfo; | 45 class WebBlobInfo; |
47 | 46 |
48 class IDBCursor : public GarbageCollectedFinalized<IDBCursor>, public ScriptWrap pable { | 47 class IDBCursor : public GarbageCollectedFinalized<IDBCursor>, public ScriptWrap pable { |
49 DEFINE_WRAPPERTYPEINFO(); | 48 DEFINE_WRAPPERTYPEINFO(); |
50 USING_PRE_FINALIZER(IDBCursor, dispose); | 49 USING_PRE_FINALIZER(IDBCursor, dispose); |
51 public: | 50 public: |
52 static WebIDBCursorDirection stringToDirection(const String& modeString, Exc eptionState&); | 51 static WebIDBCursorDirection stringToDirection(const String& modeString, Exc eptionState&); |
53 | 52 |
54 static IDBCursor* create(PassOwnPtr<WebIDBCursor>, WebIDBCursorDirection, ID BRequest*, IDBAny* source, IDBTransaction*); | 53 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; | 101 bool m_valueDirty; |
103 Member<IDBKey> m_key; | 102 Member<IDBKey> m_key; |
104 Member<IDBKey> m_primaryKey; | 103 Member<IDBKey> m_primaryKey; |
105 RefPtr<SharedBuffer> m_value; | 104 RefPtr<SharedBuffer> m_value; |
106 OwnPtr<Vector<WebBlobInfo> > m_blobInfo; | 105 OwnPtr<Vector<WebBlobInfo> > m_blobInfo; |
107 }; | 106 }; |
108 | 107 |
109 } // namespace blink | 108 } // namespace blink |
110 | 109 |
111 #endif // IDBCursor_h | 110 #endif // IDBCursor_h |
OLD | NEW |