| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ |
| 6 #define CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "third_party/WebKit/public/platform/WebIDBCursor.h" | 10 #include "third_party/WebKit/public/platform/WebIDBCursor.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 long long indexId, | 86 long long indexId, |
| 87 const blink::WebString& name, | 87 const blink::WebString& name, |
| 88 const blink::WebIDBKeyPath&, | 88 const blink::WebIDBKeyPath&, |
| 89 bool unique, | 89 bool unique, |
| 90 bool multiEntry); | 90 bool multiEntry); |
| 91 virtual void deleteIndex(long long transactionId, | 91 virtual void deleteIndex(long long transactionId, |
| 92 long long objectStoreId, | 92 long long objectStoreId, |
| 93 long long indexId); | 93 long long indexId); |
| 94 virtual void abort(long long transaction_id); | 94 virtual void abort(long long transaction_id); |
| 95 virtual void commit(long long transaction_id); | 95 virtual void commit(long long transaction_id); |
| 96 virtual void ackReceivedBlobs( |
| 97 const blink::WebVector<blink::WebString>& uuids); |
| 96 | 98 |
| 97 private: | 99 private: |
| 98 int32 ipc_database_id_; | 100 int32 ipc_database_id_; |
| 99 int32 ipc_database_callbacks_id_; | 101 int32 ipc_database_callbacks_id_; |
| 100 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 102 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 101 }; | 103 }; |
| 102 | 104 |
| 103 } // namespace content | 105 } // namespace content |
| 104 | 106 |
| 105 #endif // CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ | 107 #endif // CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ |
| OLD | NEW |