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

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

Issue 19117005: IndexedDB: Coding conventions and cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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.h
diff --git a/content/browser/indexed_db/indexed_db_database_callbacks.h b/content/browser/indexed_db/indexed_db_database_callbacks.h
index 7c750e414c4cc89691b9750b84dd3db82ccc5d55..0fae7807fcbb86ffac64509e8a26caa60a1c12a1 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
@@ -16,14 +16,9 @@ class IndexedDBDispatcherHost;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
public:
- static scoped_refptr<IndexedDBDatabaseCallbacks> Create(
- IndexedDBDispatcherHost* dispatcher_host,
- int ipc_thread_id,
- int ipc_database_callbacks_id) {
- return make_scoped_refptr(
- new IndexedDBDatabaseCallbacks(
- dispatcher_host, ipc_thread_id, ipc_database_callbacks_id));
- }
+ IndexedDBDatabaseCallbacks(IndexedDBDispatcherHost* dispatcher_host,
+ int ipc_thread_id,
+ int ipc_database_callbacks_id);
virtual void OnForcedClose();
virtual void OnVersionChange(int64 old_version, int64 new_version);
@@ -33,10 +28,6 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
virtual void OnComplete(int64 host_transaction_id);
protected:
- IndexedDBDatabaseCallbacks(
- IndexedDBDispatcherHost* dispatcher_host,
- int ipc_thread_id,
- int ipc_database_callbacks_id);
virtual ~IndexedDBDatabaseCallbacks();
private:

Powered by Google App Engine
This is Rietveld 408576698