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

Side by Side Diff: Source/WebKit/chromium/src/IDBDatabaseCallbacksProxy.h

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 28
29 #include "modules/indexeddb/IDBDatabaseCallbacks.h" 29 #include "modules/indexeddb/IDBDatabaseCallbacks.h"
30 #include <wtf/PassOwnPtr.h> 30 #include <wtf/PassOwnPtr.h>
31 31
32 namespace WebKit { 32 namespace WebKit {
33 33
34 class WebIDBDatabaseCallbacks; 34 class WebIDBDatabaseCallbacks;
35 35
36 class IDBDatabaseCallbacksProxy : public WebCore::IDBDatabaseCallbacks { 36 class IDBDatabaseCallbacksProxy : public WebCore::IDBDatabaseCallbacks {
37 public: 37 public:
38 static PassRefPtr<IDBDatabaseCallbacksProxy> create(PassOwnPtr<WebIDBDatabas eCallbacks>); 38 static IDBDatabaseCallbacksProxy* create(PassOwnPtr<WebIDBDatabaseCallbacks> );
39 virtual ~IDBDatabaseCallbacksProxy(); 39 virtual ~IDBDatabaseCallbacksProxy();
40 40
41 virtual void onForcedClose(); 41 virtual void onForcedClose();
42 virtual void onVersionChange(int64_t oldVersion, int64_t newVersion); 42 virtual void onVersionChange(int64_t oldVersion, int64_t newVersion);
43 43
44 virtual void onAbort(int64_t transactionId, PassRefPtr<WebCore::IDBDatabaseE rror>); 44 virtual void onAbort(int64_t transactionId, PassRefPtr<WebCore::IDBDatabaseE rror>);
45 virtual void onComplete(int64_t transactionId); 45 virtual void onComplete(int64_t transactionId);
46 46
47 virtual void trace(WebCore::Visitor*) OVERRIDE { }
48
47 private: 49 private:
48 IDBDatabaseCallbacksProxy(PassOwnPtr<WebIDBDatabaseCallbacks>); 50 IDBDatabaseCallbacksProxy(PassOwnPtr<WebIDBDatabaseCallbacks>);
49 51
50 OwnPtr<WebIDBDatabaseCallbacks> m_callbacks; 52 OwnPtr<WebIDBDatabaseCallbacks> m_callbacks;
51 }; 53 };
52 54
53 } // namespace WebKit 55 } // namespace WebKit
54 56
55 #endif // IDBDatabaseCallbacksProxy_h 57 #endif // IDBDatabaseCallbacksProxy_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp ('k') | Source/WebKit/chromium/src/IDBDatabaseCallbacksProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698