| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 35 namespace WebCore { class IDBFactoryBackendInterface; } | 35 namespace WebCore { class IDBFactoryBackendInterface; } |
| 36 | 36 |
| 37 namespace WebKit { | 37 namespace WebKit { |
| 38 | 38 |
| 39 class WebIDBFactoryImpl : public WebIDBFactory { | 39 class WebIDBFactoryImpl : public WebIDBFactory { |
| 40 public: | 40 public: |
| 41 WebIDBFactoryImpl(); | 41 WebIDBFactoryImpl(); |
| 42 virtual ~WebIDBFactoryImpl(); | 42 virtual ~WebIDBFactoryImpl(); |
| 43 | 43 |
| 44 virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&, We
bFrame*, const WebString& dataDir); | 44 virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&, We
bFrame*, const WebString& dataDir); |
| 45 virtual void getDatabaseNames(WebIDBCallbacks*, const WebString& databaseIde
ntifier, const WebString& dataDir); |
| 45 virtual void open(const WebString& name, long long version, long long transa
ctionId, WebIDBCallbacks*, WebIDBDatabaseCallbacks*, const WebSecurityOrigin&, W
ebFrame*, const WebString& dataDir); | 46 virtual void open(const WebString& name, long long version, long long transa
ctionId, WebIDBCallbacks*, WebIDBDatabaseCallbacks*, const WebSecurityOrigin&, W
ebFrame*, const WebString& dataDir); |
| 47 virtual void open(const WebString& name, long long version, long long transa
ctionId, WebIDBCallbacks*, WebIDBDatabaseCallbacks*, const WebString& databaseId
entifier, const WebString& dataDir); |
| 46 virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const W
ebSecurityOrigin&, WebFrame*, const WebString& dataDir); | 48 virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const W
ebSecurityOrigin&, WebFrame*, const WebString& dataDir); |
| 49 virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const W
ebString& databaseIdentifier, const WebString& dataDir); |
| 47 | 50 |
| 48 private: | 51 private: |
| 49 WTF::RefPtr<WebCore::IDBFactoryBackendInterface> m_idbFactoryBackend; | 52 WTF::RefPtr<WebCore::IDBFactoryBackendInterface> m_idbFactoryBackend; |
| 50 }; | 53 }; |
| 51 | 54 |
| 52 } // namespace WebKit | 55 } // namespace WebKit |
| 53 | 56 |
| 54 #endif // WebIDBFactoryImpl_h | 57 #endif // WebIDBFactoryImpl_h |
| OLD | NEW |