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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT 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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 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 * 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool lastActionWasInsert(); 101 bool lastActionWasInsert();
102 void resetDeletes(); 102 void resetDeletes();
103 bool hadDeletes(); 103 bool hadDeletes();
104 void resetAuthorizer(); 104 void resetAuthorizer();
105 105
106 Vector<String> tableNames(); 106 Vector<String> tableNames();
107 void scheduleTransactionCallback(SQLTransaction*); 107 void scheduleTransactionCallback(SQLTransaction*);
108 void closeImmediately(); 108 void closeImmediately();
109 void closeDatabase(); 109 void closeDatabase();
110 110
111 DatabaseContext* databaseContext() const { return m_databaseContext.get(); } 111 DatabaseContext* databaseContext() const;
112 ExecutionContext* executionContext() const; 112 ExecutionContext* executionContext() const;
113 113
114 private: 114 private:
115 class DatabaseOpenTask; 115 class DatabaseOpenTask;
116 class DatabaseCloseTask; 116 class DatabaseCloseTask;
117 class DatabaseTransactionTask; 117 class DatabaseTransactionTask;
118 class DatabaseTableNamesTask; 118 class DatabaseTableNamesTask;
119 119
120 Database(DatabaseContext*, const String& name, const String& expectedVersion , const String& displayName, unsigned long estimatedSize); 120 Database(DatabaseContext*, const String& name, const String& expectedVersion , const String& displayName, unsigned long estimatedSize);
121 bool performOpenAndVerify(bool setVersionInNewDatabase, DatabaseError&, Stri ng& errorMessage); 121 bool performOpenAndVerify(bool setVersionInNewDatabase, DatabaseError&, Stri ng& errorMessage);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 friend class ChangeVersionWrapper; 176 friend class ChangeVersionWrapper;
177 friend class DatabaseManager; 177 friend class DatabaseManager;
178 friend class SQLStatementBackend; 178 friend class SQLStatementBackend;
179 friend class SQLTransaction; 179 friend class SQLTransaction;
180 friend class SQLTransactionBackend; 180 friend class SQLTransactionBackend;
181 }; 181 };
182 182
183 } // namespace blink 183 } // namespace blink
184 184
185 #endif // Database_h 185 #endif // Database_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698