| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef DatabaseClient_h | 31 #ifndef DatabaseClient_h |
| 32 #define DatabaseClient_h | 32 #define DatabaseClient_h |
| 33 | 33 |
| 34 #include "core/workers/WorkerClients.h" | 34 #include "core/workers/WorkerClients.h" |
| 35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace blink { |
| 39 | 39 |
| 40 class Database; | 40 class Database; |
| 41 class ExecutionContext; | 41 class ExecutionContext; |
| 42 class InspectorDatabaseAgent; | 42 class InspectorDatabaseAgent; |
| 43 class Page; | 43 class Page; |
| 44 class WorkerClients; | 44 class WorkerClients; |
| 45 | 45 |
| 46 class DatabaseClient : public WillBeHeapSupplement<Page>, public WillBeHeapSuppl
ement<WorkerClients> { | 46 class DatabaseClient : public WillBeHeapSupplement<Page>, public WillBeHeapSuppl
ement<WorkerClients> { |
| 47 WTF_MAKE_NONCOPYABLE(DatabaseClient); | 47 WTF_MAKE_NONCOPYABLE(DatabaseClient); |
| 48 public: | 48 public: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 64 WillBeHeapSupplement<WorkerClients>::trace(visitor); | 64 WillBeHeapSupplement<WorkerClients>::trace(visitor); |
| 65 } | 65 } |
| 66 | 66 |
| 67 private: | 67 private: |
| 68 InspectorDatabaseAgent* m_inspectorAgent; | 68 InspectorDatabaseAgent* m_inspectorAgent; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 void provideDatabaseClientTo(Page&, PassOwnPtrWillBeRawPtr<DatabaseClient>); | 71 void provideDatabaseClientTo(Page&, PassOwnPtrWillBeRawPtr<DatabaseClient>); |
| 72 void provideDatabaseClientToWorker(WorkerClients*, PassOwnPtrWillBeRawPtr<Databa
seClient>); | 72 void provideDatabaseClientToWorker(WorkerClients*, PassOwnPtrWillBeRawPtr<Databa
seClient>); |
| 73 | 73 |
| 74 } // namespace WebCore | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // DatabaseClient_h | 76 #endif // DatabaseClient_h |
| OLD | NEW |