Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: Source/modules/webdatabase/SQLTransaction.cpp

Issue 198213005: Oilpan: Prepare to move AbstractSQLTransactionBackend, SQLTransactionBackend, and SQLTransactionCoo… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ThreadSafeRefCountedWillBeGarbageCollectedFinalized Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 , m_executeSqlAllowed(false) 65 , m_executeSqlAllowed(false)
66 , m_readOnly(readOnly) 66 , m_readOnly(readOnly)
67 { 67 {
68 ASSERT(m_database); 68 ASSERT(m_database);
69 ScriptWrappable::init(this); 69 ScriptWrappable::init(this);
70 } 70 }
71 71
72 void SQLTransaction::trace(Visitor* visitor) 72 void SQLTransaction::trace(Visitor* visitor)
73 { 73 {
74 visitor->trace(m_database); 74 visitor->trace(m_database);
75 visitor->trace(m_backend);
75 } 76 }
76 77
77 bool SQLTransaction::hasCallback() const 78 bool SQLTransaction::hasCallback() const
78 { 79 {
79 return m_callbackWrapper.hasCallback(); 80 return m_callbackWrapper.hasCallback();
80 } 81 }
81 82
82 bool SQLTransaction::hasSuccessCallback() const 83 bool SQLTransaction::hasSuccessCallback() const
83 { 84 {
84 return m_successCallbackWrapper.hasCallback(); 85 return m_successCallbackWrapper.hasCallback();
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 m_successCallbackWrapper.clear(); 309 m_successCallbackWrapper.clear();
309 m_errorCallbackWrapper.clear(); 310 m_errorCallbackWrapper.clear();
310 } 311 }
311 312
312 PassOwnPtr<SQLTransactionErrorCallback> SQLTransaction::releaseErrorCallback() 313 PassOwnPtr<SQLTransactionErrorCallback> SQLTransaction::releaseErrorCallback()
313 { 314 {
314 return m_errorCallbackWrapper.unwrap(); 315 return m_errorCallbackWrapper.unwrap();
315 } 316 }
316 317
317 } // namespace WebCore 318 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/SQLTransaction.h ('k') | Source/modules/webdatabase/SQLTransactionBackend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698