| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "modules/webdatabase/DatabaseBase.h" | 36 #include "modules/webdatabase/DatabaseBase.h" |
| 37 #include "modules/webdatabase/DatabaseContext.h" | 37 #include "modules/webdatabase/DatabaseContext.h" |
| 38 #include "modules/webdatabase/DatabaseManager.h" | 38 #include "modules/webdatabase/DatabaseManager.h" |
| 39 #include "modules/webdatabase/DatabaseObserver.h" | 39 #include "modules/webdatabase/DatabaseObserver.h" |
| 40 #include "modules/webdatabase/DatabaseTracker.h" | 40 #include "modules/webdatabase/DatabaseTracker.h" |
| 41 #include "modules/webdatabase/sqlite/SQLiteStatement.h" | 41 #include "modules/webdatabase/sqlite/SQLiteStatement.h" |
| 42 #include "modules/webdatabase/sqlite/SQLiteTransaction.h" | 42 #include "modules/webdatabase/sqlite/SQLiteTransaction.h" |
| 43 #include "public/platform/Platform.h" | 43 #include "public/platform/Platform.h" |
| 44 #include "public/platform/WebPlatformDatabaseObserver.h" | 44 #include "public/platform/WebPlatformDatabaseObserver.h" |
| 45 #include "weborigin/DatabaseIdentifier.h" | 45 #include "weborigin/DatabaseIdentifier.h" |
| 46 #include "weborigin/SecurityOrigin.h" | |
| 47 #include "wtf/HashMap.h" | 46 #include "wtf/HashMap.h" |
| 48 #include "wtf/HashSet.h" | 47 #include "wtf/HashSet.h" |
| 49 #include "wtf/PassRefPtr.h" | 48 #include "wtf/PassRefPtr.h" |
| 50 #include "wtf/RefPtr.h" | |
| 51 #include "wtf/StdLibExtras.h" | 49 #include "wtf/StdLibExtras.h" |
| 52 #include "wtf/text/CString.h" | 50 #include "wtf/text/CString.h" |
| 53 #include "wtf/text/StringHash.h" | 51 #include "wtf/text/StringHash.h" |
| 54 | 52 |
| 55 // Registering "opened" databases with the DatabaseTracker | 53 // Registering "opened" databases with the DatabaseTracker |
| 56 // ======================================================= | 54 // ======================================================= |
| 57 // The DatabaseTracker maintains a list of databases that have been | 55 // The DatabaseTracker maintains a list of databases that have been |
| 58 // "opened" so that the client can call interrupt or delete on every database | 56 // "opened" so that the client can call interrupt or delete on every database |
| 59 // associated with a DatabaseContext. | 57 // associated with a DatabaseContext. |
| 60 // | 58 // |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), | 677 createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
| 680 stringIdentifier(), isSyncDatabase(), sqliteErrorCode); | 678 stringIdentifier(), isSyncDatabase(), sqliteErrorCode); |
| 681 } else { | 679 } else { |
| 682 // FIXME: Deprecate this. | 680 // FIXME: Deprecate this. |
| 683 DatabaseObserver::reportVacuumDatabaseResult(this, sqliteErrorCode); | 681 DatabaseObserver::reportVacuumDatabaseResult(this, sqliteErrorCode); |
| 684 } | 682 } |
| 685 } | 683 } |
| 686 | 684 |
| 687 | 685 |
| 688 } // namespace WebCore | 686 } // namespace WebCore |
| OLD | NEW |