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

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

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 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 20 matching lines...) Expand all
31 #include "core/platform/Logging.h" 31 #include "core/platform/Logging.h"
32 #include "core/platform/sql/SQLValue.h" 32 #include "core/platform/sql/SQLValue.h"
33 #include "core/platform/sql/SQLiteDatabase.h" 33 #include "core/platform/sql/SQLiteDatabase.h"
34 #include "core/platform/sql/SQLiteStatement.h" 34 #include "core/platform/sql/SQLiteStatement.h"
35 #include "modules/webdatabase/AbstractSQLStatement.h" 35 #include "modules/webdatabase/AbstractSQLStatement.h"
36 #include "modules/webdatabase/DatabaseBackend.h" 36 #include "modules/webdatabase/DatabaseBackend.h"
37 #include "modules/webdatabase/SQLError.h" 37 #include "modules/webdatabase/SQLError.h"
38 #include "wtf/text/CString.h" 38 #include "wtf/text/CString.h"
39 39
40 40
41 // The Life-Cycle of a SQLStatement i.e. Who's keeping the SQLStatement alive? 41 // The Life-Cycle of a SQLStatement i.e. Who's keeping the SQLStatement alive?
42 // ========================================================================== 42 // ==========================================================================
43 // The RefPtr chain goes something like this: 43 // The RefPtr chain goes something like this:
44 // 44 //
45 // At birth (in SQLTransactionBackend::executeSQL()): 45 // At birth (in SQLTransactionBackend::executeSQL()):
46 // ================================================= 46 // =================================================
47 // SQLTransactionBackend // Deque<RefPtr<SQLStatementBackend> > m_ statementQueue points to ... 47 // SQLTransactionBackend // Deque<RefPtr<SQLStatementBackend> > m_ statementQueue points to ...
48 // --> SQLStatementBackend // OwnPtr<SQLStatement> m_frontend points to ... 48 // --> SQLStatementBackend // OwnPtr<SQLStatement> m_frontend points to ...
49 // --> SQLStatement 49 // --> SQLStatement
50 // 50 //
51 // After grabbing the statement for execution (in SQLTransactionBackend::get NextStatement()): 51 // After grabbing the statement for execution (in SQLTransactionBackend::get NextStatement()):
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 if (lastExecutionFailedDueToQuota()) 235 if (lastExecutionFailedDueToQuota())
236 m_error = 0; 236 m_error = 0;
237 } 237 }
238 238
239 bool SQLStatementBackend::lastExecutionFailedDueToQuota() const 239 bool SQLStatementBackend::lastExecutionFailedDueToQuota() const
240 { 240 {
241 return m_error && m_error->code() == SQLError::QUOTA_ERR; 241 return m_error && m_error->code() == SQLError::QUOTA_ERR;
242 } 242 }
243 243
244 } // namespace WebCore 244 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/DatabaseServer.cpp ('k') | Source/modules/webdatabase/SQLTransactionBackend.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698