OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "WebCommon.h" | 29 #include "WebCommon.h" |
30 #include "WebIDBKeyPath.h" | 30 #include "WebIDBKeyPath.h" |
31 #include "WebString.h" | 31 #include "WebString.h" |
32 #include "WebVector.h" | 32 #include "WebVector.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 struct IDBDatabaseMetadata; | 35 struct IDBDatabaseMetadata; |
36 } | 36 } |
37 | 37 |
38 namespace WebKit { | 38 namespace blink { |
39 | 39 |
40 struct WebIDBMetadata { | 40 struct WebIDBMetadata { |
41 enum { | 41 enum { |
42 NoIntVersion = -1 | 42 NoIntVersion = -1 |
43 }; | 43 }; |
44 struct Index; | 44 struct Index; |
45 struct ObjectStore; | 45 struct ObjectStore; |
46 | 46 |
47 WebString name; | 47 WebString name; |
48 // FIXME: Both version members need to be present while we support both the | 48 // FIXME: Both version members need to be present while we support both the |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 , multiEntry(false) { } | 80 , multiEntry(false) { } |
81 }; | 81 }; |
82 | 82 |
83 #if BLINK_IMPLEMENTATION | 83 #if BLINK_IMPLEMENTATION |
84 WebIDBMetadata(const WebCore::IDBDatabaseMetadata&); | 84 WebIDBMetadata(const WebCore::IDBDatabaseMetadata&); |
85 operator WebCore::IDBDatabaseMetadata() const; | 85 operator WebCore::IDBDatabaseMetadata() const; |
86 #endif | 86 #endif |
87 }; | 87 }; |
88 | 88 |
89 | 89 |
90 } // namespace WebKit | 90 } // namespace blink |
91 | 91 |
92 #endif // WebIDBMetadata_h | 92 #endif // WebIDBMetadata_h |
OLD | NEW |