| 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 17 matching lines...) Expand all Loading... |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "modules/webdatabase/DatabaseBackendBase.h" | 31 #include "modules/webdatabase/DatabaseBackendBase.h" |
| 32 | 32 |
| 33 #include "core/dom/ExceptionCode.h" | 33 #include "core/dom/ExceptionCode.h" |
| 34 #include "core/dom/ExecutionContext.h" | 34 #include "core/dom/ExecutionContext.h" |
| 35 #include "core/inspector/ConsoleMessage.h" | 35 #include "core/inspector/ConsoleMessage.h" |
| 36 #include "platform/Logging.h" | 36 #include "platform/Logging.h" |
| 37 #include "modules/webdatabase/DatabaseAuthorizer.h" | 37 #include "modules/webdatabase/DatabaseAuthorizer.h" |
| 38 #include "modules/webdatabase/DatabaseBase.h" | |
| 39 #include "modules/webdatabase/DatabaseContext.h" | 38 #include "modules/webdatabase/DatabaseContext.h" |
| 40 #include "modules/webdatabase/DatabaseManager.h" | 39 #include "modules/webdatabase/DatabaseManager.h" |
| 41 #include "modules/webdatabase/DatabaseTracker.h" | 40 #include "modules/webdatabase/DatabaseTracker.h" |
| 42 #include "modules/webdatabase/sqlite/SQLiteStatement.h" | 41 #include "modules/webdatabase/sqlite/SQLiteStatement.h" |
| 43 #include "modules/webdatabase/sqlite/SQLiteTransaction.h" | 42 #include "modules/webdatabase/sqlite/SQLiteTransaction.h" |
| 44 #include "platform/weborigin/DatabaseIdentifier.h" | 43 #include "platform/weborigin/DatabaseIdentifier.h" |
| 45 #include "public/platform/Platform.h" | 44 #include "public/platform/Platform.h" |
| 46 #include "public/platform/WebDatabaseObserver.h" | 45 #include "public/platform/WebDatabaseObserver.h" |
| 47 #include "wtf/HashMap.h" | 46 #include "wtf/HashMap.h" |
| 48 #include "wtf/HashSet.h" | 47 #include "wtf/HashSet.h" |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 { | 652 { |
| 654 executionContext()->addConsoleMessage(ConsoleMessage::create(StorageMessageS
ource, ErrorMessageLevel, message)); | 653 executionContext()->addConsoleMessage(ConsoleMessage::create(StorageMessageS
ource, ErrorMessageLevel, message)); |
| 655 } | 654 } |
| 656 | 655 |
| 657 ExecutionContext* DatabaseBackendBase::executionContext() const | 656 ExecutionContext* DatabaseBackendBase::executionContext() const |
| 658 { | 657 { |
| 659 return databaseContext()->executionContext(); | 658 return databaseContext()->executionContext(); |
| 660 } | 659 } |
| 661 | 660 |
| 662 } // namespace blink | 661 } // namespace blink |
| OLD | NEW |