| Index: content/browser/in_process_webkit/indexed_db_callbacks.h
|
| diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.h b/content/browser/in_process_webkit/indexed_db_callbacks.h
|
| index 40704a27dd1846edd513d7bbee6deaa137f27952..fc9ff81d4dc44d46a39826904fd9598db72f388a 100644
|
| --- a/content/browser/in_process_webkit/indexed_db_callbacks.h
|
| +++ b/content/browser/in_process_webkit/indexed_db_callbacks.h
|
| @@ -25,9 +25,6 @@ template <class Type> struct WebIDBToMsgHelper { };
|
| template <> struct WebIDBToMsgHelper<WebKit::WebIDBIndex> {
|
| typedef IndexedDBMsg_CallbacksSuccessIDBIndex MsgType;
|
| };
|
| -template <> struct WebIDBToMsgHelper<WebKit::WebIDBTransaction> {
|
| - typedef IndexedDBMsg_CallbacksSuccessIDBTransaction MsgType;
|
| -};
|
|
|
| // The code the following two classes share.
|
| class IndexedDBCallbacksBase : public WebKit::WebIDBCallbacks {
|
| @@ -73,6 +70,25 @@ class IndexedDBCallbacks : public IndexedDBCallbacksBase {
|
| };
|
|
|
| template <>
|
| +class IndexedDBCallbacks<WebKit::WebIDBTransaction>
|
| + : public IndexedDBCallbacksBase {
|
| + public:
|
| + IndexedDBCallbacks(
|
| + IndexedDBDispatcherHost* dispatcher_host, int32 response_id,
|
| + const GURL& origin_url)
|
| + : IndexedDBCallbacksBase(dispatcher_host, response_id),
|
| + origin_url_(origin_url) {
|
| + }
|
| +
|
| + virtual void onSuccess(WebKit::WebIDBTransaction* idb_object);
|
| + const GURL& origin_url() const { return origin_url_; }
|
| +
|
| + private:
|
| + const GURL& origin_url_;
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks);
|
| +};
|
| +
|
| +template <>
|
| class IndexedDBCallbacks<WebKit::WebIDBDatabase>
|
| : public IndexedDBCallbacksBase {
|
| public:
|
|
|