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

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

Issue 15724006: Migrate IDBDatabaseBackendTest from blink to chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix exports for WebIDBDatabase too Created 7 years, 7 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
Index: content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h
diff --git a/content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h b/content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h
index 920f2d217622c8f29d8c301f3db9cd01add78258..732a48fe4f262317f414f44559f7c86e6b86050a 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h
@@ -10,11 +10,12 @@
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "content/browser/indexed_db/indexed_db_database_error.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h"
namespace content {
-class IndexedDBDatabaseCallbacksWrapper
+class CONTENT_EXPORT IndexedDBDatabaseCallbacksWrapper
: public base::RefCounted<IndexedDBDatabaseCallbacksWrapper> {
public:
static scoped_refptr<IndexedDBDatabaseCallbacksWrapper> Create(
@@ -29,10 +30,12 @@ class IndexedDBDatabaseCallbacksWrapper
scoped_refptr<IndexedDBDatabaseError> error);
virtual void OnComplete(int64 transaction_id);
- private:
+ protected:
explicit IndexedDBDatabaseCallbacksWrapper(
WebKit::WebIDBDatabaseCallbacks* callbacks);
virtual ~IndexedDBDatabaseCallbacksWrapper();
+
+ private:
friend class base::RefCounted<IndexedDBDatabaseCallbacksWrapper>;
scoped_ptr<WebKit::WebIDBDatabaseCallbacks> callbacks_;
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.h ('k') | content/browser/indexed_db/indexed_db_database_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698