Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / browser / indexed_db / indexed_db_callbacks.h
index 8041fb8..4ae10a9 100644 (file)
@@ -83,7 +83,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
   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,
@@ -133,6 +133,8 @@ class CONTENT_EXPORT IndexedDBCallbacks
   blink::WebIDBDataLoss data_loss_;
   std::string data_loss_message_;
 
+  // The "blocked" event should be sent at most once per request.
+  bool sent_blocked_;
   DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks);
 };