Lines Matching refs:database
41 #define HISTOGRAM_WEBSQL_RESULT(name, database, callsite, \
46 if (database.isSyncDatabase()) { \
76 const WebDatabase& database) {
78 database.securityOrigin().databaseIdentifier().utf8();
79 string16 database_name = database.name();
83 database.displayName(), database.estimatedSize()));
87 const WebDatabase& database) {
89 database.securityOrigin().databaseIdentifier().utf8(), database.name()));
93 const WebDatabase& database) {
95 database.securityOrigin().databaseIdentifier().utf8();
96 string16 database_name = database.name();
103 const WebDatabase& database, int callsite, int websql_error,
105 HISTOGRAM_WEBSQL_RESULT("OpenResult", database, callsite,
107 HandleSqliteError(database, sqlite_error);
111 const WebDatabase& database, int callsite, int websql_error,
113 HISTOGRAM_WEBSQL_RESULT("ChangeVersionResult", database, callsite,
115 HandleSqliteError(database, sqlite_error);
119 const WebDatabase& database, int callsite, int websql_error,
121 HISTOGRAM_WEBSQL_RESULT("BeginResult", database, callsite,
123 HandleSqliteError(database, sqlite_error);
127 const WebDatabase& database, int callsite, int websql_error,
129 HISTOGRAM_WEBSQL_RESULT("CommitResult", database, callsite,
131 HandleSqliteError(database, sqlite_error);
135 const WebDatabase& database, int callsite, int websql_error,
137 HISTOGRAM_WEBSQL_RESULT("StatementResult", database, callsite,
139 HandleSqliteError(database, sqlite_error);
143 const WebDatabase& database, int sqlite_error) {
145 if (database.isSyncDatabase()) {
152 HandleSqliteError(database, sqlite_error);
160 const WebDatabase& database, int error) {
166 database.securityOrigin().databaseIdentifier().utf8(),
167 database.name(),