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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void onSuccess(int64_t value) = 0; | 62 virtual void onSuccess(int64_t value) = 0; |
63 | 63 |
64 // From IDBFactor.deleteDatabase(), IDBObjectStore/IDBIndex.get(), IDBObject
Store.delete(), IDBObjectStore.clear() | 64 // From IDBFactor.deleteDatabase(), IDBObjectStore/IDBIndex.get(), IDBObject
Store.delete(), IDBObjectStore.clear() |
65 virtual void onSuccess() = 0; | 65 virtual void onSuccess() = 0; |
66 | 66 |
67 // From IDBCursor.advance()/continue() | 67 // From IDBCursor.advance()/continue() |
68 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa
ssRefPtr<SharedBuffer>) = 0; | 68 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa
ssRefPtr<SharedBuffer>) = 0; |
69 // From IDBFactory.open()/deleteDatabase() | 69 // From IDBFactory.open()/deleteDatabase() |
70 virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED()
; } | 70 virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED()
; } |
71 // From IDBFactory.open() | 71 // From IDBFactory.open() |
72 virtual void onUpgradeNeeded(int64_t /* oldVersion */, PassRefPtr<IDBDatabas
eBackendInterface>, const IDBDatabaseMetadata&, WebKit::WebIDBCallbacks::DataLos
s dataLoss, String dataLossMessage) { ASSERT_NOT_REACHED(); } | 72 virtual void onUpgradeNeeded(int64_t /* oldVersion */, PassRefPtr<IDBDatabas
eBackendInterface>, const IDBDatabaseMetadata&, blink::WebIDBCallbacks::DataLoss
dataLoss, String dataLossMessage) { ASSERT_NOT_REACHED(); } |
73 virtual void onSuccess(PassRefPtr<IDBDatabaseBackendInterface>, const IDBDat
abaseMetadata&) { ASSERT_NOT_REACHED(); } | 73 virtual void onSuccess(PassRefPtr<IDBDatabaseBackendInterface>, const IDBDat
abaseMetadata&) { ASSERT_NOT_REACHED(); } |
74 }; | 74 }; |
75 | 75 |
76 } // namespace WebCore | 76 } // namespace WebCore |
77 | 77 |
78 #endif // IDBCallbacks_h | 78 #endif // IDBCallbacks_h |
OLD | NEW |