OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, ExceptionCode&); | 61 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, ExceptionCode&); |
62 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, int64_t version, ExceptionCode&); | 62 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, int64_t version, ExceptionCode&); |
63 PassRefPtr<IDBVersionChangeRequest> deleteDatabase(ScriptExecutionContext*,
const String& name, ExceptionCode&); | 63 PassRefPtr<IDBVersionChangeRequest> deleteDatabase(ScriptExecutionContext*,
const String& name, ExceptionCode&); |
64 | 64 |
65 short cmp(PassRefPtr<IDBKey> first, PassRefPtr<IDBKey> second, ExceptionCode
&); | 65 short cmp(PassRefPtr<IDBKey> first, PassRefPtr<IDBKey> second, ExceptionCode
&); |
66 | 66 |
67 private: | 67 private: |
68 IDBFactory(IDBFactoryBackendInterface*); | 68 IDBFactory(IDBFactoryBackendInterface*); |
69 | 69 |
| 70 PassRefPtr<IDBOpenDBRequest> openInternal(ScriptExecutionContext*, const Str
ing& name, int64_t version, ExceptionCode&); |
| 71 |
70 RefPtr<IDBFactoryBackendInterface> m_backend; | 72 RefPtr<IDBFactoryBackendInterface> m_backend; |
71 }; | 73 }; |
72 | 74 |
73 } // namespace WebCore | 75 } // namespace WebCore |
74 | 76 |
75 #endif | 77 #endif |
76 | 78 |
77 #endif // IDBFactory_h | 79 #endif // IDBFactory_h |
OLD | NEW |