| 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 16 matching lines...) Expand all Loading... |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef WebIDBCallbacksImpl_h | 29 #ifndef WebIDBCallbacksImpl_h |
| 30 #define WebIDBCallbacksImpl_h | 30 #define WebIDBCallbacksImpl_h |
| 31 | 31 |
| 32 #include "public/platform/modules/indexeddb/WebIDBCallbacks.h" | 32 #include "public/platform/modules/indexeddb/WebIDBCallbacks.h" |
| 33 #include "wtf/PassRefPtr.h" | 33 #include "wtf/PassRefPtr.h" |
| 34 #include "wtf/RefPtr.h" | 34 #include "wtf/RefPtr.h" |
| 35 #include <memory> | 35 #include <memory> |
| 36 | 36 |
| 37 #if 0 |
| 37 namespace blink { | 38 namespace blink { |
| 38 | 39 |
| 39 class IDBRequest; | 40 class IDBRequest; |
| 40 class WebIDBCursor; | 41 class WebIDBCursor; |
| 41 class WebIDBDatabase; | 42 class WebIDBDatabase; |
| 42 class WebIDBDatabaseError; | 43 class WebIDBDatabaseError; |
| 43 class WebIDBKey; | 44 class WebIDBKey; |
| 44 struct WebIDBMetadata; | 45 struct WebIDBMetadata; |
| 45 struct WebIDBValue; | 46 struct WebIDBValue; |
| 46 | 47 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 65 void onBlocked(long long oldVersion) override; | 66 void onBlocked(long long oldVersion) override; |
| 66 void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const WebIDBMeta
data&, unsigned short dataLoss, WebString dataLossMessage) override; | 67 void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const WebIDBMeta
data&, unsigned short dataLoss, WebString dataLossMessage) override; |
| 67 | 68 |
| 68 private: | 69 private: |
| 69 explicit WebIDBCallbacksImpl(IDBRequest*); | 70 explicit WebIDBCallbacksImpl(IDBRequest*); |
| 70 | 71 |
| 71 Persistent<IDBRequest> m_request; | 72 Persistent<IDBRequest> m_request; |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 } // namespace blink | 75 } // namespace blink |
| 76 #endif |
| 75 | 77 |
| 76 #endif // WebIDBCallbacksImpl_h | 78 #endif // WebIDBCallbacksImpl_h |
| OLD | NEW |