| 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 26 matching lines...) Expand all Loading... |
| 37 #include "modules/webdatabase/DatabaseContext.h" | 37 #include "modules/webdatabase/DatabaseContext.h" |
| 38 #include "modules/webdatabase/DatabaseThread.h" | 38 #include "modules/webdatabase/DatabaseThread.h" |
| 39 #include "modules/webdatabase/SQLError.h" | 39 #include "modules/webdatabase/SQLError.h" |
| 40 #include "modules/webdatabase/SQLStatementCallback.h" | 40 #include "modules/webdatabase/SQLStatementCallback.h" |
| 41 #include "modules/webdatabase/SQLStatementErrorCallback.h" | 41 #include "modules/webdatabase/SQLStatementErrorCallback.h" |
| 42 #include "modules/webdatabase/SQLTransactionBackend.h" | 42 #include "modules/webdatabase/SQLTransactionBackend.h" |
| 43 #include "modules/webdatabase/SQLTransactionCallback.h" | 43 #include "modules/webdatabase/SQLTransactionCallback.h" |
| 44 #include "modules/webdatabase/SQLTransactionClient.h" // FIXME: Should be used
in the backend only. | 44 #include "modules/webdatabase/SQLTransactionClient.h" // FIXME: Should be used
in the backend only. |
| 45 #include "modules/webdatabase/SQLTransactionErrorCallback.h" | 45 #include "modules/webdatabase/SQLTransactionErrorCallback.h" |
| 46 #include "modules/webdatabase/StorageLog.h" | 46 #include "modules/webdatabase/StorageLog.h" |
| 47 #include "wtf/StdLibExtras.h" | 47 #include "platform/wtf/StdLibExtras.h" |
| 48 #include "wtf/Vector.h" | 48 #include "platform/wtf/Vector.h" |
| 49 | 49 |
| 50 namespace blink { | 50 namespace blink { |
| 51 | 51 |
| 52 SQLTransaction* SQLTransaction::Create( | 52 SQLTransaction* SQLTransaction::Create( |
| 53 Database* db, | 53 Database* db, |
| 54 SQLTransactionCallback* callback, | 54 SQLTransactionCallback* callback, |
| 55 VoidCallback* success_callback, | 55 VoidCallback* success_callback, |
| 56 SQLTransactionErrorCallback* error_callback, | 56 SQLTransactionErrorCallback* error_callback, |
| 57 bool read_only) { | 57 bool read_only) { |
| 58 return new SQLTransaction(db, callback, success_callback, error_callback, | 58 return new SQLTransaction(db, callback, success_callback, error_callback, |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 callback_.Clear(); | 352 callback_.Clear(); |
| 353 success_callback_.Clear(); | 353 success_callback_.Clear(); |
| 354 error_callback_.Clear(); | 354 error_callback_.Clear(); |
| 355 } | 355 } |
| 356 | 356 |
| 357 SQLTransactionErrorCallback* SQLTransaction::ReleaseErrorCallback() { | 357 SQLTransactionErrorCallback* SQLTransaction::ReleaseErrorCallback() { |
| 358 return error_callback_.Release(); | 358 return error_callback_.Release(); |
| 359 } | 359 } |
| 360 | 360 |
| 361 } // namespace blink | 361 } // namespace blink |
| OLD | NEW |