| 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 19 matching lines...) Expand all Loading... |
| 30 #include "public/platform/WebCommon.h" | 30 #include "public/platform/WebCommon.h" |
| 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/WebIDBObserver.h" | 33 #include "public/platform/modules/indexeddb/WebIDBObserver.h" |
| 34 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 34 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
| 35 #include <set> | 35 #include <set> |
| 36 #include <vector> | 36 #include <vector> |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 #if 0 |
| 40 class WebData; | 41 class WebData; |
| 41 class WebIDBCallbacks; | 42 class WebIDBCallbacks; |
| 42 class WebIDBDatabaseCallbacks; | 43 class WebIDBDatabaseCallbacks; |
| 43 class WebIDBKey; | 44 class WebIDBKey; |
| 44 class WebIDBKeyPath; | 45 class WebIDBKeyPath; |
| 45 class WebIDBKeyRange; | 46 class WebIDBKeyRange; |
| 46 class WebIDBObserver; | 47 class WebIDBObserver; |
| 47 | 48 |
| 48 class WebIDBDatabase { | 49 class WebIDBDatabase { |
| 49 public: | 50 public: |
| (...skipping 25 matching lines...) Expand all Loading... |
| 75 virtual void setIndexesReady(long long transactionId, long long objectStoreI
d, const WebVector<long long>& indexIds) = 0; | 76 virtual void setIndexesReady(long long transactionId, long long objectStoreI
d, const WebVector<long long>& indexIds) = 0; |
| 76 virtual void openCursor(long long transactionId, long long objectStoreId, lo
ng long indexId, const WebIDBKeyRange&, WebIDBCursorDirection, bool keyOnly, Web
IDBTaskType, WebIDBCallbacks*) = 0; | 77 virtual void openCursor(long long transactionId, long long objectStoreId, lo
ng long indexId, const WebIDBKeyRange&, WebIDBCursorDirection, bool keyOnly, Web
IDBTaskType, WebIDBCallbacks*) = 0; |
| 77 virtual void count(long long transactionId, long long objectStoreId, long lo
ng indexId, const WebIDBKeyRange&, WebIDBCallbacks*) = 0; | 78 virtual void count(long long transactionId, long long objectStoreId, long lo
ng indexId, const WebIDBKeyRange&, WebIDBCallbacks*) = 0; |
| 78 virtual void deleteRange(long long transactionId, long long objectStoreId, c
onst WebIDBKeyRange&, WebIDBCallbacks*) = 0; | 79 virtual void deleteRange(long long transactionId, long long objectStoreId, c
onst WebIDBKeyRange&, WebIDBCallbacks*) = 0; |
| 79 virtual void clear(long long transactionId, long long objectStoreId, WebIDBC
allbacks*) = 0; | 80 virtual void clear(long long transactionId, long long objectStoreId, WebIDBC
allbacks*) = 0; |
| 80 virtual void ackReceivedBlobs(const WebVector<WebString>& uuids) = 0; | 81 virtual void ackReceivedBlobs(const WebVector<WebString>& uuids) = 0; |
| 81 | 82 |
| 82 protected: | 83 protected: |
| 83 WebIDBDatabase() { } | 84 WebIDBDatabase() { } |
| 84 }; | 85 }; |
| 86 #endif |
| 85 | 87 |
| 86 } // namespace blink | 88 } // namespace blink |
| 87 | 89 |
| 88 #endif // WebIDBDatabase_h | 90 #endif // WebIDBDatabase_h |
| OLD | NEW |