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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void setBackend(SQLTransactionBackend*); 81 void setBackend(SQLTransactionBackend*);
82 82
83 private: 83 private:
84 SQLTransaction(Database*, SQLTransactionCallback*, 84 SQLTransaction(Database*, SQLTransactionCallback*,
85 VoidCallback* successCallback, SQLTransactionErrorCallback*, 85 VoidCallback* successCallback, SQLTransactionErrorCallback*,
86 bool readOnly); 86 bool readOnly);
87 87
88 void clearCallbacks(); 88 void clearCallbacks();
89 89
90 // State Machine functions: 90 // State Machine functions:
91 virtual StateFunction stateFunctionFor(SQLTransactionState) override; 91 StateFunction stateFunctionFor(SQLTransactionState) override;
92 bool computeNextStateAndCleanupIfNeeded(); 92 bool computeNextStateAndCleanupIfNeeded();
93 93
94 // State functions: 94 // State functions:
95 SQLTransactionState deliverTransactionCallback(); 95 SQLTransactionState deliverTransactionCallback();
96 SQLTransactionState deliverTransactionErrorCallback(); 96 SQLTransactionState deliverTransactionErrorCallback();
97 SQLTransactionState deliverStatementCallback(); 97 SQLTransactionState deliverStatementCallback();
98 SQLTransactionState deliverQuotaIncreaseCallback(); 98 SQLTransactionState deliverQuotaIncreaseCallback();
99 SQLTransactionState deliverSuccessCallback(); 99 SQLTransactionState deliverSuccessCallback();
100 100
101 SQLTransactionState unreachableState(); 101 SQLTransactionState unreachableState();
(...skipping 10 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
« no previous file with comments | « Source/modules/webdatabase/InspectorDatabaseAgent.cpp ('k') | Source/modules/webdatabase/SQLTransactionBackend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698