| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 IDBOpenDBRequest* open(ScriptState*, const String& name, ExceptionState&); | 51 IDBOpenDBRequest* open(ScriptState*, const String& name, ExceptionState&); |
| 52 IDBOpenDBRequest* open(ScriptState*, | 52 IDBOpenDBRequest* open(ScriptState*, |
| 53 const String& name, | 53 const String& name, |
| 54 unsigned long long version, | 54 unsigned long long version, |
| 55 ExceptionState&); | 55 ExceptionState&); |
| 56 IDBOpenDBRequest* deleteDatabase(ScriptState*, | 56 IDBOpenDBRequest* deleteDatabase(ScriptState*, |
| 57 const String& name, | 57 const String& name, |
| 58 ExceptionState&); | 58 ExceptionState&); |
| 59 | 59 |
| 60 // This is currently not exposed to the web applications and is only used by |
| 61 // the DevTools. |
| 62 IDBOpenDBRequest* closeConnectionsAndDeleteDatabase(ScriptState*, |
| 63 const String& name, |
| 64 ExceptionState&); |
| 65 |
| 60 short cmp(ScriptState*, | 66 short cmp(ScriptState*, |
| 61 const ScriptValue& first, | 67 const ScriptValue& first, |
| 62 const ScriptValue& second, | 68 const ScriptValue& second, |
| 63 ExceptionState&); | 69 ExceptionState&); |
| 64 | 70 |
| 65 private: | 71 private: |
| 66 IDBFactory(); | 72 IDBFactory(); |
| 67 | 73 |
| 68 IDBOpenDBRequest* openInternal(ScriptState*, | 74 IDBOpenDBRequest* openInternal(ScriptState*, |
| 69 const String& name, | 75 const String& name, |
| 70 int64_t version, | 76 int64_t version, |
| 71 ExceptionState&); | 77 ExceptionState&); |
| 78 |
| 79 IDBOpenDBRequest* deleteDatabaseInternal(ScriptState*, |
| 80 const String& name, |
| 81 ExceptionState&, |
| 82 bool); |
| 72 }; | 83 }; |
| 73 | 84 |
| 74 } // namespace blink | 85 } // namespace blink |
| 75 | 86 |
| 76 #endif // IDBFactory_h | 87 #endif // IDBFactory_h |
| OLD | NEW |