| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2013 Apple 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 return true; | 327 return true; |
| 328 } | 328 } |
| 329 | 329 |
| 330 void SQLTransaction::clearCallbacks() | 330 void SQLTransaction::clearCallbacks() |
| 331 { | 331 { |
| 332 m_callback.clear(); | 332 m_callback.clear(); |
| 333 m_successCallback.clear(); | 333 m_successCallback.clear(); |
| 334 m_errorCallback.clear(); | 334 m_errorCallback.clear(); |
| 335 } | 335 } |
| 336 | 336 |
| 337 Database* SQLTransaction::database() const | |
| 338 { | |
| 339 return m_database; | |
| 340 } | |
| 341 | |
| 342 SQLTransactionErrorCallback* SQLTransaction::releaseErrorCallback() | 337 SQLTransactionErrorCallback* SQLTransaction::releaseErrorCallback() |
| 343 { | 338 { |
| 344 return m_errorCallback.release(); | 339 return m_errorCallback.release(); |
| 345 } | 340 } |
| 346 | 341 |
| 347 } // namespace blink | 342 } // namespace blink |
| OLD | NEW |