virtual void OnSuccessWithPrefetch(
const std::vector<IndexedDBKey>& keys,
const std::vector<IndexedDBKey>& primary_keys,
- std::vector<IndexedDBValue>& values);
+ std::vector<IndexedDBValue>* values);
// IndexedDBDatabase::Get (with key injection)
virtual void OnSuccess(IndexedDBValue* value,
blink::WebIDBDataLoss data_loss() const { return data_loss_; }
+ void SetConnectionOpenStartTime(const base::TimeTicks& start_time);
+
protected:
virtual ~IndexedDBCallbacks();
// Stored in OnDataLoss, merged with OnUpgradeNeeded response.
blink::WebIDBDataLoss data_loss_;
std::string data_loss_message_;
+
+ // The "blocked" event should be sent at most once per request.
+ bool sent_blocked_;
+ base::TimeTicks connection_open_start_time_;
+ DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
};
} // namespace content