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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 14 matching lines...) Expand all Loading... |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "public/platform/WebIDBKey.h" | 29 #include "public/platform/WebIDBKey.h" |
30 | 30 |
31 #include "modules/indexeddb/IDBKey.h" | 31 #include "modules/indexeddb/IDBKey.h" |
32 | 32 |
33 using namespace WebCore; | 33 using namespace WebCore; |
34 | 34 |
35 namespace WebKit { | 35 namespace blink { |
36 | 36 |
37 WebIDBKey WebIDBKey::createArray(const WebVector<WebIDBKey>& array) | 37 WebIDBKey WebIDBKey::createArray(const WebVector<WebIDBKey>& array) |
38 { | 38 { |
39 WebIDBKey key; | 39 WebIDBKey key; |
40 key.assignArray(array); | 40 key.assignArray(array); |
41 return key; | 41 return key; |
42 } | 42 } |
43 | 43 |
44 WebIDBKey WebIDBKey::createString(const WebString& string) | 44 WebIDBKey WebIDBKey::createString(const WebString& string) |
45 { | 45 { |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 { | 222 { |
223 m_private = value; | 223 m_private = value; |
224 return *this; | 224 return *this; |
225 } | 225 } |
226 | 226 |
227 WebIDBKey::operator PassRefPtr<IDBKey>() const | 227 WebIDBKey::operator PassRefPtr<IDBKey>() const |
228 { | 228 { |
229 return m_private.get(); | 229 return m_private.get(); |
230 } | 230 } |
231 | 231 |
232 } // namespace WebKit | 232 } // namespace blink |
OLD | NEW |