| 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 "WebCommon.h" | 30 #include "WebCommon.h" |
| 31 #include "WebIDBCursor.h" | 31 #include "WebIDBCursor.h" |
| 32 #include "WebIDBMetadata.h" | 32 #include "WebIDBMetadata.h" |
| 33 #include "public/platform/WebIDBTypes.h" | 33 #include "public/platform/WebIDBTypes.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class WebData; | 37 class WebData; |
| 38 class WebIDBCallbacks; | 38 class WebIDBCallbacks; |
| 39 class WebIDBDatabaseCallbacks; | 39 class WebIDBDatabaseCallbacks; |
| 40 class WebIDBDatabaseError; | |
| 41 class WebIDBKey; | 40 class WebIDBKey; |
| 42 class WebIDBKeyPath; | 41 class WebIDBKeyPath; |
| 43 class WebIDBKeyRange; | 42 class WebIDBKeyRange; |
| 44 | 43 |
| 45 // See comment in WebIDBFactory for a high level overview of these classes. | 44 // See comment in WebIDBFactory for a high level overview of these classes. |
| 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, long long objectStor
eId, const WebString& name, const WebIDBKeyPath&, bool autoIncrement) { BLINK_AS
SERT_NOT_REACHED(); } | 49 virtual void createObjectStore(long long transactionId, long long objectStor
eId, const WebString& name, const WebIDBKeyPath&, bool autoIncrement) { BLINK_AS
SERT_NOT_REACHED(); } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 73 virtual void clear(long long transactionId, long long objectStoreId, WebIDBC
allbacks*) { BLINK_ASSERT_NOT_REACHED(); } | 72 virtual void clear(long long transactionId, long long objectStoreId, WebIDBC
allbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
| 74 virtual void ackReceivedBlobs(const WebVector<WebString>& uuids) { BLINK_ASS
ERT_NOT_REACHED(); } | 73 virtual void ackReceivedBlobs(const WebVector<WebString>& uuids) { BLINK_ASS
ERT_NOT_REACHED(); } |
| 75 | 74 |
| 76 protected: | 75 protected: |
| 77 WebIDBDatabase() { } | 76 WebIDBDatabase() { } |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 } // namespace blink | 79 } // namespace blink |
| 81 | 80 |
| 82 #endif // WebIDBDatabase_h | 81 #endif // WebIDBDatabase_h |
| OLD | NEW |