| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Google, Inc. All Rights Reserved. | 3 * Copyright (C) 2011 Google, 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 * 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #ifndef DatabaseContext_h | 28 #ifndef DatabaseContext_h |
| 29 #define DatabaseContext_h | 29 #define DatabaseContext_h |
| 30 | 30 |
| 31 #include "core/dom/ActiveDOMObject.h" | 31 #include "core/dom/ActiveDOMObject.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class DatabaseContext; | 36 class DatabaseContext; |
| 37 class TaskSynchronizer; | |
| 38 class DatabaseThread; | 37 class DatabaseThread; |
| 39 class ExecutionContext; | 38 class ExecutionContext; |
| 40 class SecurityOrigin; | 39 class SecurityOrigin; |
| 41 | 40 |
| 42 class DatabaseContext final | 41 class DatabaseContext final |
| 43 : public GarbageCollectedFinalized<DatabaseContext> | 42 : public GarbageCollectedFinalized<DatabaseContext> |
| 44 , public ActiveDOMObject { | 43 , public ActiveDOMObject { |
| 45 public: | 44 public: |
| 46 friend class DatabaseManager; | 45 friend class DatabaseManager; |
| 47 | 46 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 71 explicit DatabaseContext(ExecutionContext*); | 70 explicit DatabaseContext(ExecutionContext*); |
| 72 | 71 |
| 73 Member<DatabaseThread> m_databaseThread; | 72 Member<DatabaseThread> m_databaseThread; |
| 74 bool m_hasOpenDatabases; // This never changes back to false, even after the
database thread is closed. | 73 bool m_hasOpenDatabases; // This never changes back to false, even after the
database thread is closed. |
| 75 bool m_hasRequestedTermination; | 74 bool m_hasRequestedTermination; |
| 76 }; | 75 }; |
| 77 | 76 |
| 78 } // namespace blink | 77 } // namespace blink |
| 79 | 78 |
| 80 #endif // DatabaseContext_h | 79 #endif // DatabaseContext_h |
| OLD | NEW |