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

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

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/modules/webdatabase/SQLTransaction.h ('k') | Source/modules/websockets/CloseEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void executeSQL(SQLStatement*, const String& statement, const Vector<SQLValu e>& arguments, int permissions); 78 void executeSQL(SQLStatement*, const String& statement, const Vector<SQLValu e>& arguments, int permissions);
79 79
80 private: 80 private:
81 SQLTransactionBackend(Database*, SQLTransaction*, SQLTransactionWrapper*, bo ol readOnly); 81 SQLTransactionBackend(Database*, SQLTransaction*, SQLTransactionWrapper*, bo ol readOnly);
82 82
83 void doCleanup(); 83 void doCleanup();
84 84
85 void enqueueStatementBackend(SQLStatementBackend*); 85 void enqueueStatementBackend(SQLStatementBackend*);
86 86
87 // State Machine functions: 87 // State Machine functions:
88 virtual StateFunction stateFunctionFor(SQLTransactionState) OVERRIDE; 88 virtual StateFunction stateFunctionFor(SQLTransactionState) override;
89 void computeNextStateAndCleanupIfNeeded(); 89 void computeNextStateAndCleanupIfNeeded();
90 90
91 // State functions: 91 // State functions:
92 SQLTransactionState acquireLock(); 92 SQLTransactionState acquireLock();
93 SQLTransactionState openTransactionAndPreflight(); 93 SQLTransactionState openTransactionAndPreflight();
94 SQLTransactionState runStatements(); 94 SQLTransactionState runStatements();
95 SQLTransactionState postflightAndCommit(); 95 SQLTransactionState postflightAndCommit();
96 SQLTransactionState cleanupAndTerminate(); 96 SQLTransactionState cleanupAndTerminate();
97 SQLTransactionState cleanupAfterTransactionErrorCallback(); 97 SQLTransactionState cleanupAfterTransactionErrorCallback();
98 98
(...skipping 24 matching lines...) Expand all
123 123
124 Mutex m_statementMutex; 124 Mutex m_statementMutex;
125 HeapDeque<Member<SQLStatementBackend> > m_statementQueue; 125 HeapDeque<Member<SQLStatementBackend> > m_statementQueue;
126 126
127 OwnPtr<SQLiteTransaction> m_sqliteTransaction; 127 OwnPtr<SQLiteTransaction> m_sqliteTransaction;
128 }; 128 };
129 129
130 } // namespace blink 130 } // namespace blink
131 131
132 #endif // SQLTransactionBackend_h 132 #endif // SQLTransactionBackend_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/SQLTransaction.h ('k') | Source/modules/websockets/CloseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698