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

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

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years 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
« no previous file with comments | « Source/modules/indexeddb/IDBAny.cpp ('k') | Source/modules/indexeddb/IDBCursor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // From IDBFactor.deleteDatabase(), IDBObjectStore/IDBIndex.get(), IDBObject Store.delete(), IDBObjectStore.clear() 63 // From IDBFactor.deleteDatabase(), IDBObjectStore/IDBIndex.get(), IDBObject Store.delete(), IDBObjectStore.clear()
64 virtual void onSuccess() = 0; 64 virtual void onSuccess() = 0;
65 65
66 // From IDBCursor.advance()/continue() 66 // From IDBCursor.advance()/continue()
67 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa ssRefPtr<SharedBuffer>) = 0; 67 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa ssRefPtr<SharedBuffer>) = 0;
68 // From IDBCursor.advance()/continue() 68 // From IDBCursor.advance()/continue()
69 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >& keys, cons t Vector<RefPtr<IDBKey> >& primaryKeys, const Vector<RefPtr<SharedBuffer> >& val ues) = 0; 69 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >& keys, cons t Vector<RefPtr<IDBKey> >& primaryKeys, const Vector<RefPtr<SharedBuffer> >& val ues) = 0;
70 // From IDBFactory.open()/deleteDatabase() 70 // From IDBFactory.open()/deleteDatabase()
71 virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED() ; } 71 virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED() ; }
72 // From IDBFactory.open() 72 // From IDBFactory.open()
73 virtual void onUpgradeNeeded(int64_t /* oldVersion */, PassRefPtr<IDBDatabas eBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); } 73 virtual void onUpgradeNeeded(int64_t /* oldVersion */, IDBDatabaseBackendInt erface*, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); }
74 virtual void onSuccess(PassRefPtr<IDBDatabaseBackendInterface>, const IDBDat abaseMetadata&) { ASSERT_NOT_REACHED(); } 74 virtual void onSuccess(IDBDatabaseBackendInterface*, const IDBDatabaseMetada ta&) { ASSERT_NOT_REACHED(); }
75 }; 75 };
76 76
77 } // namespace WebCore 77 } // namespace WebCore
78 78
79 #endif // IDBCallbacks_h 79 #endif // IDBCallbacks_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBAny.cpp ('k') | Source/modules/indexeddb/IDBCursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698