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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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) 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 DECLARE_TRACE(); 62 DECLARE_TRACE();
63 63
64 void performPendingCallback(); 64 void performPendingCallback();
65 65
66 void executeSQL(const String& sqlStatement, const Vector<SQLValue>& argument s, 66 void executeSQL(const String& sqlStatement, const Vector<SQLValue>& argument s,
67 SQLStatementCallback*, SQLStatementErrorCallback*, ExceptionState&); 67 SQLStatementCallback*, SQLStatementErrorCallback*, ExceptionState&);
68 void executeSql(ScriptState*, const String& sqlStatement, ExceptionState&); 68 void executeSql(ScriptState*, const String& sqlStatement, ExceptionState&);
69 void executeSql(ScriptState*, const String& sqlStatement, const Nullable<Vec tor<ScriptValue>>& arguments, 69 void executeSql(ScriptState*, const String& sqlStatement, const Nullable<Vec tor<ScriptValue>>& arguments,
70 SQLStatementCallback*, SQLStatementErrorCallback*, ExceptionState&); 70 SQLStatementCallback*, SQLStatementErrorCallback*, ExceptionState&);
71 71
72 Database* database() const; 72 Database* database() { return m_database.get(); }
73 73
74 SQLTransactionErrorCallback* releaseErrorCallback(); 74 SQLTransactionErrorCallback* releaseErrorCallback();
75 75
76 // APIs called from the backend published: 76 // APIs called from the backend published:
77 void requestTransitToState(SQLTransactionState); 77 void requestTransitToState(SQLTransactionState);
78 bool hasCallback() const; 78 bool hasCallback() const;
79 bool hasSuccessCallback() const; 79 bool hasSuccessCallback() const;
80 bool hasErrorCallback() const; 80 bool hasErrorCallback() const;
81 void setBackend(SQLTransactionBackend*); 81 void setBackend(SQLTransactionBackend*);
82 82
(...skipping 29 matching lines...) Expand all
112 bool m_executeSqlAllowed; 112 bool m_executeSqlAllowed;
113 OwnPtr<SQLErrorData> m_transactionError; 113 OwnPtr<SQLErrorData> m_transactionError;
114 114
115 bool m_readOnly; 115 bool m_readOnly;
116 int m_asyncOperationId; 116 int m_asyncOperationId;
117 }; 117 };
118 118
119 } // namespace blink 119 } // namespace blink
120 120
121 #endif // SQLTransaction_h 121 #endif // SQLTransaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698