#ifndef WebIDBCallbacks_h
#define WebIDBCallbacks_h
#include "WebCommon.h"
#include "WebString.h"
#include "WebVector.h"
namespace blink {
class WebData;
class WebIDBCursor;
class WebIDBDatabase;
class WebIDBDatabaseError;
class WebIDBIndex;
class WebIDBKey;
class WebIDBKeyPath;
struct WebIDBMetadata;
class WebIDBCallbacks {
public:
virtual ~WebIDBCallbacks() { }
virtual void onError(const WebIDBDatabaseError&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebVector<WebString>&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& primaryKey, const WebData&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebIDBKey&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebData&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(long long) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess() { BLINK_ASSERT_NOT_REACHED(); }
virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const WebData&) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onBlocked(long long oldVersion) { BLINK_ASSERT_NOT_REACHED(); }
virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const WebIDBMetadata&, unsigned short dataLoss, WebString dataLossMessage) { BLINK_ASSERT_NOT_REACHED(); }
};
}
#endif