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 22 matching lines...) Expand all Loading... |
33 #include "core/dom/ExceptionCode.h" | 33 #include "core/dom/ExceptionCode.h" |
34 #include "platform/Logging.h" | 34 #include "platform/Logging.h" |
35 #include "modules/webdatabase/DatabaseAuthorizer.h" | 35 #include "modules/webdatabase/DatabaseAuthorizer.h" |
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 "platform/weborigin/DatabaseIdentifier.h" |
| 44 #include "platform/weborigin/SecurityOrigin.h" |
43 #include "public/platform/Platform.h" | 45 #include "public/platform/Platform.h" |
44 #include "public/platform/WebPlatformDatabaseObserver.h" | 46 #include "public/platform/WebPlatformDatabaseObserver.h" |
45 #include "weborigin/DatabaseIdentifier.h" | |
46 #include "wtf/HashMap.h" | 47 #include "wtf/HashMap.h" |
47 #include "wtf/HashSet.h" | 48 #include "wtf/HashSet.h" |
48 #include "wtf/PassRefPtr.h" | 49 #include "wtf/PassRefPtr.h" |
49 #include "wtf/StdLibExtras.h" | 50 #include "wtf/StdLibExtras.h" |
50 #include "wtf/text/CString.h" | 51 #include "wtf/text/CString.h" |
51 #include "wtf/text/StringHash.h" | 52 #include "wtf/text/StringHash.h" |
52 | 53 |
53 // Registering "opened" databases with the DatabaseTracker | 54 // Registering "opened" databases with the DatabaseTracker |
54 // ======================================================= | 55 // ======================================================= |
55 // The DatabaseTracker maintains a list of databases that have been | 56 // The DatabaseTracker maintains a list of databases that have been |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), | 678 createDatabaseIdentifierFromSecurityOrigin(securityOrigin()), |
678 stringIdentifier(), isSyncDatabase(), sqliteErrorCode); | 679 stringIdentifier(), isSyncDatabase(), sqliteErrorCode); |
679 } else { | 680 } else { |
680 // FIXME: Deprecate this. | 681 // FIXME: Deprecate this. |
681 DatabaseObserver::reportVacuumDatabaseResult(this, sqliteErrorCode); | 682 DatabaseObserver::reportVacuumDatabaseResult(this, sqliteErrorCode); |
682 } | 683 } |
683 } | 684 } |
684 | 685 |
685 | 686 |
686 } // namespace WebCore | 687 } // namespace WebCore |
OLD | NEW |