| 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 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "modules/indexeddb/IDBCursorWithValue.h" | 27 #include "modules/indexeddb/IDBCursorWithValue.h" |
| 28 | 28 |
| 29 #include "modules/indexeddb/IDBKey.h" | 29 #include "modules/indexeddb/IDBKey.h" |
| 30 | 30 |
| 31 using blink::WebIDBCursor; | 31 using blink::WebIDBCursor; |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 IDBCursorWithValue* IDBCursorWithValue::create(PassOwnPtr<blink::WebIDBCursor> b
ackend, blink::WebIDBCursorDirection direction, IDBRequest* request, IDBAny* sou
rce, IDBTransaction* transaction) | 35 IDBCursorWithValue* IDBCursorWithValue::create(PassOwnPtr<WebIDBCursor> backend,
WebIDBCursorDirection direction, IDBRequest* request, IDBAny* source, IDBTransa
ction* transaction) |
| 36 { | 36 { |
| 37 return new IDBCursorWithValue(backend, direction, request, source, transacti
on); | 37 return new IDBCursorWithValue(backend, direction, request, source, transacti
on); |
| 38 } | 38 } |
| 39 | 39 |
| 40 IDBCursorWithValue::IDBCursorWithValue(PassOwnPtr<blink::WebIDBCursor> backend,
blink::WebIDBCursorDirection direction, IDBRequest* request, IDBAny* source, IDB
Transaction* transaction) | 40 IDBCursorWithValue::IDBCursorWithValue(PassOwnPtr<WebIDBCursor> backend, WebIDBC
ursorDirection direction, IDBRequest* request, IDBAny* source, IDBTransaction* t
ransaction) |
| 41 : IDBCursor(backend, direction, request, source, transaction) | 41 : IDBCursor(backend, direction, request, source, transaction) |
| 42 { | 42 { |
| 43 ScriptWrappable::init(this); | 43 ScriptWrappable::init(this); |
| 44 } | 44 } |
| 45 | 45 |
| 46 IDBCursorWithValue::~IDBCursorWithValue() | 46 IDBCursorWithValue::~IDBCursorWithValue() |
| 47 { | 47 { |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace blink | 50 } // namespace blink |
| OLD | NEW |