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 14 matching lines...) Expand all Loading... |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #ifndef IndexedDBClientImpl_h | 29 #ifndef IndexedDBClientImpl_h |
30 #define IndexedDBClientImpl_h | 30 #define IndexedDBClientImpl_h |
31 | 31 |
32 #include "modules/indexeddb/IndexedDBClient.h" | 32 #include "modules/indexeddb/IndexedDBClient.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
| 35 |
35 class ExecutionContext; | 36 class ExecutionContext; |
36 } | |
37 | 37 |
38 namespace blink { | 38 class IndexedDBClientImpl FINAL : public IndexedDBClient { |
| 39 public: |
| 40 static IndexedDBClient* create(); |
39 | 41 |
40 class IndexedDBClientImpl FINAL : public blink::IndexedDBClient { | 42 virtual bool allowIndexedDB(ExecutionContext*, const String& name) OVERRIDE; |
41 public: | |
42 static blink::IndexedDBClient* create(); | |
43 | |
44 virtual bool allowIndexedDB(blink::ExecutionContext*, const String& name) OV
ERRIDE; | |
45 | 43 |
46 private: | 44 private: |
47 IndexedDBClientImpl() { } | 45 IndexedDBClientImpl() { } |
48 }; | 46 }; |
49 | 47 |
50 } // namespace blink | 48 } // namespace blink |
51 | 49 |
52 #endif // IndexedDBClientImpl_h | 50 #endif // IndexedDBClientImpl_h |
OLD | NEW |