| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |    2  * Copyright (C) 2007, 2008 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   98     String fileName() const; |   98     String fileName() const; | 
|   99  |   99  | 
|  100     bool getVersionFromDatabase(String&); |  100     bool getVersionFromDatabase(String&); | 
|  101     bool setVersionInDatabase(const String&); |  101     bool setVersionInDatabase(const String&); | 
|  102     void setExpectedVersion(const String&); |  102     void setExpectedVersion(const String&); | 
|  103     bool versionMatchesExpected() const; |  103     bool versionMatchesExpected() const; | 
|  104  |  104  | 
|  105     void markAsDeletedAndClose(); |  105     void markAsDeletedAndClose(); | 
|  106     bool deleted() const { return m_deleted; } |  106     bool deleted() const { return m_deleted; } | 
|  107  |  107  | 
|  108     void close(); |  108     void close(bool removeDatabaseFromContext); | 
|  109     bool opened() const { return m_opened; } |  109     bool opened() const { return m_opened; } | 
|  110  |  110  | 
|  111     void stop(); |  111     void stop(); | 
|  112     bool stopped() const { return m_stopped; } |  112     bool stopped() const { return m_stopped; } | 
|  113  |  113  | 
|  114     unsigned long long databaseSize() const; |  114     unsigned long long databaseSize() const; | 
|  115     unsigned long long maximumSize() const; |  115     unsigned long long maximumSize() const; | 
|  116  |  116  | 
|  117 // Called from DatabaseThread, must be prepared to work on the background thread |  117 // Called from DatabaseThread, must be prepared to work on the background thread | 
|  118     void resetAuthorizer(); |  118     void resetAuthorizer(); | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  174 namespace WebCore { |  174 namespace WebCore { | 
|  175 class Database : public ThreadSafeShared<Database> { |  175 class Database : public ThreadSafeShared<Database> { | 
|  176 public: |  176 public: | 
|  177     static const String& databaseInfoTableName(); |  177     static const String& databaseInfoTableName(); | 
|  178 }; |  178 }; | 
|  179 } // namespace WebCore |  179 } // namespace WebCore | 
|  180  |  180  | 
|  181 #endif // ENABLE(DATABASE) |  181 #endif // ENABLE(DATABASE) | 
|  182  |  182  | 
|  183 #endif // Database_h |  183 #endif // Database_h | 
| OLD | NEW |