| 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 | 35 |
| 36 class WebIDBCallbacks; | 36 class WebIDBCallbacks; |
| 37 class WebIDBDatabaseCallbacks; | 37 class WebIDBDatabaseCallbacks; |
| 38 class WebSecurityOrigin; | 38 class WebSecurityOrigin; |
| 39 class WebString; | 39 class WebString; |
| 40 | 40 |
| 41 class WebIDBFactory { | 41 class WebIDBFactory { |
| 42 public: | 42 public: |
| 43 virtual ~WebIDBFactory() { } | 43 virtual ~WebIDBFactory() { } |
| 44 | 44 |
| 45 virtual void getDatabaseNames(WebIDBCallbacks* callbacks, const WebSecurityO
rigin&) { BLINK_ASSERT_NOT_REACHED(); } | 45 virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&) =
0; |
| 46 virtual void open(const WebString& name, long long version, long long transa
ctionId, WebIDBCallbacks* callbacks, WebIDBDatabaseCallbacks* databaseCallbacks,
const WebSecurityOrigin&) { BLINK_ASSERT_NOT_REACHED(); } | 46 virtual void open(const WebString& name, long long version, long long transa
ctionId, WebIDBCallbacks*, WebIDBDatabaseCallbacks*, const WebSecurityOrigin&) =
0; |
| 47 virtual void deleteDatabase(const WebString& name, WebIDBCallbacks* callback
s, const WebSecurityOrigin&) { BLINK_ASSERT_NOT_REACHED(); } | 47 virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const W
ebSecurityOrigin&) = 0; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace blink | 50 } // namespace blink |
| 51 | 51 |
| 52 #endif // WebIDBFactory_h | 52 #endif // WebIDBFactory_h |
| OLD | NEW |