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

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

Issue 14267029: Prepare to eliminate WebDOMStringList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix names duplication in conversion Created 7 years, 8 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); 75 DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
76 76
77 void markEarlyDeath(); 77 void markEarlyDeath();
78 void setCursorDetails(IndexedDB::CursorType, IndexedDB::CursorDirection); 78 void setCursorDetails(IndexedDB::CursorType, IndexedDB::CursorDirection);
79 void setPendingCursor(PassRefPtr<IDBCursor>); 79 void setPendingCursor(PassRefPtr<IDBCursor>);
80 void finishCursor(); 80 void finishCursor();
81 void abort(); 81 void abort();
82 82
83 // IDBCallbacks 83 // IDBCallbacks
84 virtual void onError(PassRefPtr<IDBDatabaseError>); 84 virtual void onError(PassRefPtr<IDBDatabaseError>);
85 virtual void onSuccess(PassRefPtr<DOMStringList>); 85 virtual void onSuccess(const Vector<String>&);
86 virtual void onSuccess(PassRefPtr<IDBCursorBackendInterface>, PassRefPtr<IDB Key>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); 86 virtual void onSuccess(PassRefPtr<IDBCursorBackendInterface>, PassRefPtr<IDB Key>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>);
87 virtual void onSuccess(PassRefPtr<IDBKey>); 87 virtual void onSuccess(PassRefPtr<IDBKey>);
88 virtual void onSuccess(PassRefPtr<SharedBuffer>); 88 virtual void onSuccess(PassRefPtr<SharedBuffer>);
89 virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const I DBKeyPath&); 89 virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const I DBKeyPath&);
90 virtual void onSuccess(int64_t); 90 virtual void onSuccess(int64_t);
91 virtual void onSuccess(); 91 virtual void onSuccess();
92 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa ssRefPtr<SharedBuffer>); 92 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa ssRefPtr<SharedBuffer>);
93 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vec tor<RefPtr<IDBKey> >&, const Vector<RefPtr<SharedBuffer> >&) { ASSERT_NOT_REACHE D(); } // Not implemented. Callback should not reach the renderer side. 93 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vec tor<RefPtr<IDBKey> >&, const Vector<RefPtr<SharedBuffer> >&) { ASSERT_NOT_REACHE D(); } // Not implemented. Callback should not reach the renderer side.
94 94
95 // ActiveDOMObject 95 // ActiveDOMObject
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 bool m_didFireUpgradeNeededEvent; 156 bool m_didFireUpgradeNeededEvent;
157 bool m_preventPropagation; 157 bool m_preventPropagation;
158 158
159 EventTargetData m_eventTargetData; 159 EventTargetData m_eventTargetData;
160 DOMRequestState m_requestState; 160 DOMRequestState m_requestState;
161 }; 161 };
162 162
163 } // namespace WebCore 163 } // namespace WebCore
164 164
165 #endif // IDBRequest_h 165 #endif // IDBRequest_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBFactoryBackendImpl.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698