Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: Source/WebCore/Modules/indexeddb/IDBBackingStore.h

Issue 10422005: Merge 116562 - IndexedDB: call abort handler when there are problems committing (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBLevelDBBackingStore.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 }; 106 };
107 107
108 virtual PassRefPtr<Cursor> openObjectStoreCursor(int64_t databaseId, int64_t objectStoreId, const IDBKeyRange*, IDBCursor::Direction) = 0; 108 virtual PassRefPtr<Cursor> openObjectStoreCursor(int64_t databaseId, int64_t objectStoreId, const IDBKeyRange*, IDBCursor::Direction) = 0;
109 virtual PassRefPtr<Cursor> openIndexKeyCursor(int64_t databaseId, int64_t ob jectStoreId, int64_t indexId, const IDBKeyRange*, IDBCursor::Direction) = 0; 109 virtual PassRefPtr<Cursor> openIndexKeyCursor(int64_t databaseId, int64_t ob jectStoreId, int64_t indexId, const IDBKeyRange*, IDBCursor::Direction) = 0;
110 virtual PassRefPtr<Cursor> openIndexCursor(int64_t databaseId, int64_t objec tStoreId, int64_t indexId, const IDBKeyRange*, IDBCursor::Direction) = 0; 110 virtual PassRefPtr<Cursor> openIndexCursor(int64_t databaseId, int64_t objec tStoreId, int64_t indexId, const IDBKeyRange*, IDBCursor::Direction) = 0;
111 111
112 class Transaction : public RefCounted<Transaction> { 112 class Transaction : public RefCounted<Transaction> {
113 public: 113 public:
114 virtual ~Transaction() { } 114 virtual ~Transaction() { }
115 virtual void begin() = 0; 115 virtual void begin() = 0;
116 virtual void commit() = 0; 116 virtual bool commit() = 0;
117 virtual void rollback() = 0; 117 virtual void rollback() = 0;
118 }; 118 };
119 virtual PassRefPtr<Transaction> createTransaction() = 0; 119 virtual PassRefPtr<Transaction> createTransaction() = 0;
120 }; 120 };
121 121
122 } // namespace WebCore 122 } // namespace WebCore
123 123
124 #endif 124 #endif
125 125
126 #endif // IDBBackingStore_h 126 #endif // IDBBackingStore_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBLevelDBBackingStore.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698