| Index: content/browser/indexed_db/indexed_db_callbacks.h
|
| diff --git a/content/browser/indexed_db/indexed_db_callbacks.h b/content/browser/indexed_db/indexed_db_callbacks.h
|
| index 4895c3be03f4af585d55c44cb0fc4184a186815b..9ebd61083e9454a8681168b91aa660bdaca3ee81 100644
|
| --- a/content/browser/indexed_db/indexed_db_callbacks.h
|
| +++ b/content/browser/indexed_db/indexed_db_callbacks.h
|
| @@ -11,12 +11,14 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/callback.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/strings/string16.h"
|
| +#include "base/time/time.h"
|
| #include "content/browser/indexed_db/indexed_db_database_error.h"
|
| -#include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
|
| +//#include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
|
| #include "content/common/indexed_db/indexed_db_key.h"
|
| #include "content/common/indexed_db/indexed_db_key_path.h"
|
| #include "url/origin.h"
|
| @@ -34,6 +36,9 @@ struct IndexedDBValue;
|
| class CONTENT_EXPORT IndexedDBCallbacks
|
| : public base::RefCounted<IndexedDBCallbacks> {
|
| public:
|
| +#if 1
|
| + IndexedDBCallbacks();
|
| +#else
|
| // Simple payload responses
|
| IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host,
|
| int32_t ipc_thread_id,
|
| @@ -52,6 +57,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
|
| int32_t ipc_database_callbacks_id,
|
| int64_t host_transaction_id,
|
| const url::Origin& origin);
|
| +#endif
|
|
|
| virtual void OnError(const IndexedDBDatabaseError& error);
|
|
|
| @@ -121,7 +127,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
|
| friend class base::RefCounted<IndexedDBCallbacks>;
|
|
|
| // Originally from IndexedDBCallbacks:
|
| - scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
|
| + // scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
|
| int32_t ipc_callbacks_id_;
|
| int32_t ipc_thread_id_;
|
|
|
|
|