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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 SQLTransactionErrorCallback*, 77 SQLTransactionErrorCallback*,
78 VoidCallback* successCallback); 78 VoidCallback* successCallback);
79 void readTransaction( 79 void readTransaction(
80 SQLTransactionCallback*, 80 SQLTransactionCallback*,
81 SQLTransactionErrorCallback*, 81 SQLTransactionErrorCallback*,
82 VoidCallback* successCallback); 82 VoidCallback* successCallback);
83 83
84 bool opened(); 84 bool opened();
85 bool isNew() const { return m_new; } 85 bool isNew() const { return m_new; }
86 86
87 SecurityOrigin* securityOrigin() const; 87 SecurityOrigin* getSecurityOrigin() const;
88 String stringIdentifier() const; 88 String stringIdentifier() const;
89 String displayName() const; 89 String displayName() const;
90 unsigned long estimatedSize() const; 90 unsigned long estimatedSize() const;
91 String fileName() const; 91 String fileName() const;
92 SQLiteDatabase& sqliteDatabase() { return m_sqliteDatabase; } 92 SQLiteDatabase& sqliteDatabase() { return m_sqliteDatabase; }
93 93
94 unsigned long long maximumSize() const; 94 unsigned long long maximumSize() const;
95 void incrementalVacuumIfNeeded(); 95 void incrementalVacuumIfNeeded();
96 96
97 void disableAuthorizer(); 97 void disableAuthorizer();
98 void enableAuthorizer(); 98 void enableAuthorizer();
99 void setAuthorizerPermissions(int); 99 void setAuthorizerPermissions(int);
100 bool lastActionChangedDatabase(); 100 bool lastActionChangedDatabase();
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* getDatabaseContext() const { return m_databaseContext.get() ; }
112 ExecutionContext* executionContext() const; 112 ExecutionContext* getExecutionContext() 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);
122 122
(...skipping 53 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