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

Side by Side Diff: Source/modules/indexeddb/IDBCursor.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static const AtomicString& directionNext(); 55 static const AtomicString& directionNext();
56 static const AtomicString& directionNextUnique(); 56 static const AtomicString& directionNextUnique();
57 static const AtomicString& directionPrev(); 57 static const AtomicString& directionPrev();
58 static const AtomicString& directionPrevUnique(); 58 static const AtomicString& directionPrevUnique();
59 59
60 static blink::WebIDBCursorDirection stringToDirection(const String& modeStri ng, ExceptionState&); 60 static blink::WebIDBCursorDirection stringToDirection(const String& modeStri ng, ExceptionState&);
61 static const AtomicString& directionToString(unsigned short mode); 61 static const AtomicString& directionToString(unsigned short mode);
62 62
63 static IDBCursor* create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCurso rDirection, IDBRequest*, IDBAny* source, IDBTransaction*); 63 static IDBCursor* create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCurso rDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
64 virtual ~IDBCursor(); 64 virtual ~IDBCursor();
65 void trace(Visitor*); 65 virtual void trace(Visitor*);
66 void contextWillBeDestroyed() { m_backend.clear(); } 66 void contextWillBeDestroyed() { m_backend.clear(); }
67 67
68 // Implement the IDL 68 // Implement the IDL
69 const String& direction() const { return directionToString(m_direction); } 69 const String& direction() const { return directionToString(m_direction); }
70 ScriptValue key(ScriptState*); 70 ScriptValue key(ScriptState*);
71 ScriptValue primaryKey(ScriptState*); 71 ScriptValue primaryKey(ScriptState*);
72 ScriptValue value(ScriptState*); 72 ScriptValue value(ScriptState*);
73 ScriptValue source(ScriptState*) const; 73 ScriptValue source(ScriptState*) const;
74 74
75 IDBRequest* update(ScriptState*, ScriptValue&, ExceptionState&); 75 IDBRequest* update(ScriptState*, ScriptValue&, ExceptionState&);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 bool m_valueDirty; 110 bool m_valueDirty;
111 Member<IDBKey> m_key; 111 Member<IDBKey> m_key;
112 Member<IDBKey> m_primaryKey; 112 Member<IDBKey> m_primaryKey;
113 RefPtr<SharedBuffer> m_value; 113 RefPtr<SharedBuffer> m_value;
114 OwnPtr<Vector<blink::WebBlobInfo> > m_blobInfo; 114 OwnPtr<Vector<blink::WebBlobInfo> > m_blobInfo;
115 }; 115 };
116 116
117 } // namespace blink 117 } // namespace blink
118 118
119 #endif // IDBCursor_h 119 #endif // IDBCursor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698