| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2009 Google Inc. All rights reserved. | 2  * Copyright (C) 2009 Google 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 are | 5  * modification, are permitted provided that the following conditions are | 
| 6  * met: | 6  * met: | 
| 7  * | 7  * | 
| 8  *     * Redistributions of source code must retain the above copyright | 8  *     * 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  *     * Redistributions in binary form must reproduce the above | 10  *     * Redistributions in binary form must reproduce the above | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 31 #include "config.h" | 31 #include "config.h" | 
| 32 #include "WebDatabase.h" | 32 #include "WebDatabase.h" | 
| 33 | 33 | 
| 34 #include "public/platform/WebString.h" | 34 #include "public/platform/WebString.h" | 
| 35 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" | 
| 36 #include "wtf/RefPtr.h" | 36 #include "wtf/RefPtr.h" | 
| 37 #include "WebDatabaseObserver.h" | 37 #include "WebDatabaseObserver.h" | 
| 38 #include "modules/webdatabase/DatabaseBackendBase.h" | 38 #include "modules/webdatabase/DatabaseBackendBase.h" | 
| 39 #include "modules/webdatabase/DatabaseManager.h" | 39 #include "modules/webdatabase/DatabaseManager.h" | 
| 40 #include "modules/webdatabase/QuotaTracker.h" | 40 #include "modules/webdatabase/QuotaTracker.h" | 
| 41 #include "weborigin/SecurityOrigin.h" | 41 #include "platform/weborigin/SecurityOrigin.h" | 
| 42 | 42 | 
| 43 using namespace WebCore; | 43 using namespace WebCore; | 
| 44 | 44 | 
| 45 namespace blink { | 45 namespace blink { | 
| 46 | 46 | 
| 47 static WebDatabaseObserver* databaseObserver = 0; | 47 static WebDatabaseObserver* databaseObserver = 0; | 
| 48 | 48 | 
| 49 WebString WebDatabase::name() const | 49 WebString WebDatabase::name() const | 
| 50 { | 50 { | 
| 51     ASSERT(m_database); | 51     ASSERT(m_database); | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 105 { | 105 { | 
| 106     DatabaseManager::manager().closeDatabasesImmediately(originIdentifier, datab
     aseName); | 106     DatabaseManager::manager().closeDatabasesImmediately(originIdentifier, datab
     aseName); | 
| 107 } | 107 } | 
| 108 | 108 | 
| 109 WebDatabase::WebDatabase(const DatabaseBackendBase* database) | 109 WebDatabase::WebDatabase(const DatabaseBackendBase* database) | 
| 110     : m_database(database) | 110     : m_database(database) | 
| 111 { | 111 { | 
| 112 } | 112 } | 
| 113 | 113 | 
| 114 } // namespace blink | 114 } // namespace blink | 
| OLD | NEW | 
|---|