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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 String getColumnName(int col); 70 String getColumnName(int col);
71 SQLValue getColumnValue(int col); 71 SQLValue getColumnValue(int col);
72 String getColumnText(int col); 72 String getColumnText(int col);
73 int getColumnInt(int col); 73 int getColumnInt(int col);
74 int64_t getColumnInt64(int col); 74 int64_t getColumnInt64(int col);
75 75
76 private: 76 private:
77 SQLiteDatabase& m_database; 77 SQLiteDatabase& m_database;
78 String m_query; 78 String m_query;
79 sqlite3_stmt* m_statement; 79 sqlite3_stmt* m_statement;
80 #if ENABLE(ASSERT) 80 #if DCHECK_IS_ON()
81 bool m_isPrepared; 81 bool m_isPrepared = false;
82 #endif 82 #endif
83 }; 83 };
84 84
85 } // namespace blink 85 } // namespace blink
86 86
87 #endif // SQLiteStatement_h 87 #endif // SQLiteStatement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698