| 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 20 matching lines...) Expand all Loading... |
| 31 #include "public/platform/modules/indexeddb/WebIDBCursor.h" | 31 #include "public/platform/modules/indexeddb/WebIDBCursor.h" |
| 32 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" | 32 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" |
| 33 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 33 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| 34 | 34 |
| 35 #include <bitset> | 35 #include <bitset> |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class WebData; | 39 class WebData; |
| 40 class WebIDBCallbacks; | 40 class WebIDBCallbacks; |
| 41 class WebIDBDatabaseCallbacks; | |
| 42 class WebIDBKey; | 41 class WebIDBKey; |
| 43 class WebIDBKeyPath; | 42 class WebIDBKeyPath; |
| 44 class WebIDBKeyRange; | 43 class WebIDBKeyRange; |
| 45 | 44 |
| 46 class WebIDBDatabase { | 45 class WebIDBDatabase { |
| 47 public: | 46 public: |
| 48 virtual ~WebIDBDatabase() {} | 47 virtual ~WebIDBDatabase() {} |
| 49 | 48 |
| 50 virtual void createObjectStore(long long transactionId, | 49 virtual void createObjectStore(long long transactionId, |
| 51 long long objectStoreId, | 50 long long objectStoreId, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 WebIDBCallbacks*) = 0; | 145 WebIDBCallbacks*) = 0; |
| 147 virtual void ackReceivedBlobs(const WebVector<WebString>& uuids) = 0; | 146 virtual void ackReceivedBlobs(const WebVector<WebString>& uuids) = 0; |
| 148 | 147 |
| 149 protected: | 148 protected: |
| 150 WebIDBDatabase() {} | 149 WebIDBDatabase() {} |
| 151 }; | 150 }; |
| 152 | 151 |
| 153 } // namespace blink | 152 } // namespace blink |
| 154 | 153 |
| 155 #endif // WebIDBDatabase_h | 154 #endif // WebIDBDatabase_h |
| OLD | NEW |