Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: content/browser/indexed_db/indexed_db_callbacks_wrapper.h

Issue 18224002: IndexedDB: Eliminate IndexedDBDatabaseCallbacksWrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include fix for win Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_callbacks_wrapper.h
diff --git a/content/browser/indexed_db/indexed_db_callbacks_wrapper.h b/content/browser/indexed_db/indexed_db_callbacks_wrapper.h
index 279c0208485d7dc3e70937a882883ef579c6bec8..98f119b80f02d221e964915d312760f891ee2daf 100644
--- a/content/browser/indexed_db/indexed_db_callbacks_wrapper.h
+++ b/content/browser/indexed_db/indexed_db_callbacks_wrapper.h
@@ -12,6 +12,7 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "content/browser/indexed_db/indexed_db_database_callbacks.h"
#include "content/browser/indexed_db/indexed_db_database_error.h"
#include "content/common/indexed_db/indexed_db_key.h"
#include "content/common/indexed_db/indexed_db_key_path.h"
@@ -19,7 +20,6 @@
namespace content {
class IndexedDBCallbacksBase;
-class IndexedDBDatabaseCallbacksWrapper;
class IndexedDBCursor;
class IndexedDBDatabase;
class WebIDBDatabaseImpl;
@@ -79,7 +79,7 @@ class CONTENT_EXPORT IndexedDBCallbacksWrapper
virtual void OnSuccess(scoped_refptr<IndexedDBDatabase> db,
const content::IndexedDBDatabaseMetadata& metadata);
virtual void SetDatabaseCallbacks(
- scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks);
+ scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks);
protected:
virtual ~IndexedDBCallbacksWrapper();
@@ -89,7 +89,7 @@ class CONTENT_EXPORT IndexedDBCallbacksWrapper
friend class base::RefCounted<IndexedDBCallbacksWrapper>;
scoped_ptr<WebIDBDatabaseImpl> web_database_impl_;
scoped_ptr<IndexedDBCallbacksBase> callbacks_;
- scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks_;
+ scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks_;
bool did_complete_;
bool did_create_proxy_;
};
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698