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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, ExceptionState&); | 56 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, ExceptionState&); |
57 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, unsigned long long version, ExceptionState&); | 57 PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& nam
e, unsigned long long version, ExceptionState&); |
58 PassRefPtr<IDBOpenDBRequest> deleteDatabase(ScriptExecutionContext*, const S
tring& name, ExceptionState&); | 58 PassRefPtr<IDBOpenDBRequest> deleteDatabase(ScriptExecutionContext*, const S
tring& name, ExceptionState&); |
59 | 59 |
60 short cmp(ScriptExecutionContext*, const ScriptValue& first, const ScriptVal
ue& second, ExceptionState&); | 60 short cmp(ScriptExecutionContext*, const ScriptValue& first, const ScriptVal
ue& second, ExceptionState&); |
61 | 61 |
62 private: | 62 private: |
63 IDBFactory(IDBFactoryBackendInterface*); | 63 IDBFactory(IDBFactoryBackendInterface*); |
64 | 64 |
| 65 // FIXME: Seems there is a sign mismatch between version (signed) and that i
n open (unsigned) |
65 PassRefPtr<IDBOpenDBRequest> openInternal(ScriptExecutionContext*, const Str
ing& name, int64_t version, ExceptionState&); | 66 PassRefPtr<IDBOpenDBRequest> openInternal(ScriptExecutionContext*, const Str
ing& name, int64_t version, ExceptionState&); |
66 | 67 |
67 RefPtr<IDBFactoryBackendInterface> m_backend; | 68 RefPtr<IDBFactoryBackendInterface> m_backend; |
68 }; | 69 }; |
69 | 70 |
70 } // namespace WebCore | 71 } // namespace WebCore |
71 | 72 |
72 #endif // IDBFactory_h | 73 #endif // IDBFactory_h |
OLD | NEW |