Index: content/browser/indexed_db/indexed_db_transaction_coordinator.h |
diff --git a/content/browser/indexed_db/indexed_db_transaction_coordinator.h b/content/browser/indexed_db/indexed_db_transaction_coordinator.h |
index 865ddc7c9c6dce9820c9d3064445c8c3db7934e6..357b464eaddcc86bcb96a5e17f65dd6f44126cec 100644 |
--- a/content/browser/indexed_db/indexed_db_transaction_coordinator.h |
+++ b/content/browser/indexed_db/indexed_db_transaction_coordinator.h |
@@ -14,19 +14,21 @@ |
#include "base/macros.h" |
#include "content/browser/indexed_db/list_set.h" |
+#include "content/common/content_export.h" |
namespace content { |
class IndexedDBTransaction; |
// Transactions are executed in the order the were created. |
-class IndexedDBTransactionCoordinator { |
+class CONTENT_EXPORT IndexedDBTransactionCoordinator { |
public: |
IndexedDBTransactionCoordinator(); |
~IndexedDBTransactionCoordinator(); |
// Called by transactions as they start and finish. |
void DidCreateTransaction(IndexedDBTransaction* transaction); |
+ void DidCreateObserverTransaction(IndexedDBTransaction* transaction); |
void DidFinishTransaction(IndexedDBTransaction* transaction); |
bool IsRunningVersionChangeTransaction() const; |
@@ -39,6 +41,8 @@ class IndexedDBTransactionCoordinator { |
std::vector<const IndexedDBTransaction*> GetTransactions() const; |
private: |
+ friend class IndexedDBTransactionCoordinatorTest; |
+ |
void ProcessQueuedTransactions(); |
bool CanStartTransaction(IndexedDBTransaction* const transaction, |
const std::set<int64_t>& locked_scope) const; |