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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ExceptionState&); | 54 ExceptionState&); |
55 IDBOpenDBRequest* deleteDatabase(ScriptState*, | 55 IDBOpenDBRequest* deleteDatabase(ScriptState*, |
56 const String& name, | 56 const String& name, |
57 ExceptionState&); | 57 ExceptionState&); |
58 short cmp(ScriptState*, | 58 short cmp(ScriptState*, |
59 const ScriptValue& first, | 59 const ScriptValue& first, |
60 const ScriptValue& second, | 60 const ScriptValue& second, |
61 ExceptionState&); | 61 ExceptionState&); |
62 | 62 |
63 // These are not exposed to the web applications and only used by DevTools. | 63 // These are not exposed to the web applications and only used by DevTools. |
64 IDBRequest* GetDatabaseNames(ScriptState*); | 64 IDBRequest* GetDatabaseNames(ScriptState*, ExceptionState&); |
65 IDBOpenDBRequest* CloseConnectionsAndDeleteDatabase(ScriptState*, | 65 IDBOpenDBRequest* CloseConnectionsAndDeleteDatabase(ScriptState*, |
66 const String& name); | 66 const String& name, |
| 67 ExceptionState&); |
67 | 68 |
68 private: | 69 private: |
69 IDBFactory(); | 70 IDBFactory(); |
70 | 71 |
71 IDBOpenDBRequest* OpenInternal(ScriptState*, | 72 IDBOpenDBRequest* OpenInternal(ScriptState*, |
72 const String& name, | 73 const String& name, |
73 int64_t version, | 74 int64_t version, |
74 ExceptionState&); | 75 ExceptionState&); |
75 | 76 |
76 IDBOpenDBRequest* DeleteDatabaseInternal(ScriptState*, | 77 IDBOpenDBRequest* DeleteDatabaseInternal(ScriptState*, |
77 const String& name, | 78 const String& name, |
| 79 ExceptionState&, |
78 bool); | 80 bool); |
79 }; | 81 }; |
80 | 82 |
81 } // namespace blink | 83 } // namespace blink |
82 | 84 |
83 #endif // IDBFactory_h | 85 #endif // IDBFactory_h |
OLD | NEW |