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 |
deleted file mode 100644 |
index 7107ea23cca8f86c0d5020ddb0daec0df592da98..0000000000000000000000000000000000000000 |
--- a/content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_CALLBACKS_WRAPPER_H_ |
-#define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_CALLBACKS_WRAPPER_H_ |
- |
-#include "base/basictypes.h" |
-#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
-#include "base/string16.h" |
-#include "content/browser/indexed_db/indexed_db_database_error.h" |
-#include "third_party/WebKit/Source/Platform/chromium/public/WebIDBDatabaseCallbacks.h" |
- |
-namespace content { |
- |
-class IndexedDBDatabaseCallbacksWrapper |
- : public base::RefCounted<IndexedDBDatabaseCallbacksWrapper> { |
- public: |
- static scoped_refptr<IndexedDBDatabaseCallbacksWrapper> Create( |
- WebKit::WebIDBDatabaseCallbacks* callbacks) { |
- return make_scoped_refptr(new IndexedDBDatabaseCallbacksWrapper(callbacks)); |
- } |
- |
- virtual void OnForcedClose(); |
- virtual void OnVersionChange(int64 old_version, int64 new_version); |
- |
- virtual void OnAbort(int64 transaction_id, |
- scoped_refptr<IndexedDBDatabaseError> error); |
- virtual void OnComplete(int64 transaction_id); |
- |
- private: |
- explicit IndexedDBDatabaseCallbacksWrapper( |
- WebKit::WebIDBDatabaseCallbacks* callbacks); |
- virtual ~IndexedDBDatabaseCallbacksWrapper(); |
- friend class base::RefCounted<IndexedDBDatabaseCallbacksWrapper>; |
- |
- scoped_ptr<WebKit::WebIDBDatabaseCallbacks> callbacks_; |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_CALLBACKS_WRAPPER_H_ |