OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * 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 * | 10 * |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 void onSuccess() override; | 67 void onSuccess() override; |
68 void onSuccess(const WebIDBKey&, | 68 void onSuccess(const WebIDBKey&, |
69 const WebIDBKey& primaryKey, | 69 const WebIDBKey& primaryKey, |
70 const WebIDBValue&) override; | 70 const WebIDBValue&) override; |
71 void onBlocked(long long oldVersion) override; | 71 void onBlocked(long long oldVersion) override; |
72 void onUpgradeNeeded(long long oldVersion, | 72 void onUpgradeNeeded(long long oldVersion, |
73 WebIDBDatabase*, | 73 WebIDBDatabase*, |
74 const WebIDBMetadata&, | 74 const WebIDBMetadata&, |
75 unsigned short dataLoss, | 75 unsigned short dataLoss, |
76 WebString dataLossMessage) override; | 76 WebString dataLossMessage) override; |
| 77 void detach() override; |
77 | 78 |
78 private: | 79 private: |
79 explicit WebIDBCallbacksImpl(IDBRequest*); | 80 explicit WebIDBCallbacksImpl(IDBRequest*); |
80 | 81 |
81 Persistent<IDBRequest> m_request; | 82 Persistent<IDBRequest> m_request; |
82 }; | 83 }; |
83 | 84 |
84 } // namespace blink | 85 } // namespace blink |
85 | 86 |
86 #endif // WebIDBCallbacksImpl_h | 87 #endif // WebIDBCallbacksImpl_h |
OLD | NEW |