| 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 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef WebIDBMetadata_h | 26 #ifndef WebIDBMetadata_h |
| 27 #define WebIDBMetadata_h | 27 #define WebIDBMetadata_h |
| 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 blink { |
| 35 struct IDBDatabaseMetadata; | 35 struct IDBDatabaseMetadata; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace blink { | 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; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 74 bool unique; | 74 bool unique; |
| 75 bool multiEntry; | 75 bool multiEntry; |
| 76 long long id; | 76 long long id; |
| 77 Index() | 77 Index() |
| 78 : keyPath(WebIDBKeyPath::createNull()) | 78 : keyPath(WebIDBKeyPath::createNull()) |
| 79 , unique(false) | 79 , unique(false) |
| 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 blink::IDBDatabaseMetadata&); |
| 85 operator WebCore::IDBDatabaseMetadata() const; | 85 operator blink::IDBDatabaseMetadata() const; |
| 86 #endif | 86 #endif |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 | 89 |
| 90 } // namespace blink | 90 } // namespace blink |
| 91 | 91 |
| 92 #endif // WebIDBMetadata_h | 92 #endif // WebIDBMetadata_h |
| OLD | NEW |