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

Unified Diff: Source/modules/indexeddb/IndexedDBClient.h

Issue 225023020: IDBFactoryBackend -> IndexedDBClient, remove indexeddb/chromium (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename some lingering 'factory' ferences to 'client' Created 6 years, 8 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 | « Source/modules/indexeddb/IDBFactoryBackendInterface.h ('k') | Source/modules/indexeddb/IndexedDBClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IndexedDBClient.h
diff --git a/Source/modules/indexeddb/IDBFactoryBackendInterface.h b/Source/modules/indexeddb/IndexedDBClient.h
similarity index 82%
rename from Source/modules/indexeddb/IDBFactoryBackendInterface.h
rename to Source/modules/indexeddb/IndexedDBClient.h
index e5284f5ef8564b48cb5fc706c0bfffc7116e3e25..6560f9f0c3fc8abd55296d3e685ee45e127ec22e 100644
--- a/Source/modules/indexeddb/IDBFactoryBackendInterface.h
+++ b/Source/modules/indexeddb/IndexedDBClient.h
@@ -25,8 +25,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef IDBFactoryBackendInterface_h
-#define IDBFactoryBackendInterface_h
+#ifndef IndexedDBClient_h
+#define IndexedDBClient_h
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -36,15 +36,18 @@ namespace WebCore {
class ExecutionContext;
-// FIXME: This is just a permission client at this point. Rename/refactor.
-class IDBFactoryBackendInterface : public RefCounted<IDBFactoryBackendInterface> {
+class IndexedDBClient : public RefCounted<IndexedDBClient> {
public:
- static PassRefPtr<IDBFactoryBackendInterface> create();
- virtual ~IDBFactoryBackendInterface() { }
+ static PassRefPtr<IndexedDBClient> create();
+ virtual ~IndexedDBClient() { }
virtual bool allowIndexedDB(ExecutionContext*, const String& name) = 0;
};
+typedef PassRefPtr<IndexedDBClient> CreateIndexedDBClient();
+
+void setIndexedDBClientCreateFunction(CreateIndexedDBClient);
+
} // namespace WebCore
-#endif // IDBFactoryBackendInterface_h
+#endif // IndexedDBClient_h
« no previous file with comments | « Source/modules/indexeddb/IDBFactoryBackendInterface.h ('k') | Source/modules/indexeddb/IndexedDBClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698