| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef StorageNamespaceController_h | 5 #ifndef StorageNamespaceController_h |
| 6 #define StorageNamespaceController_h | 6 #define StorageNamespaceController_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/page/Page.h" | 9 #include "core/page/Page.h" |
| 9 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 10 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class InspectorDOMStorageAgent; | 15 class InspectorDOMStorageAgent; |
| 16 class StorageClient; | 16 class StorageClient; |
| 17 class StorageNamespace; | 17 class StorageNamespace; |
| 18 | 18 |
| 19 class MODULES_EXPORT StorageNamespaceController final | 19 class MODULES_EXPORT StorageNamespaceController final |
| 20 : public GarbageCollectedFinalized<StorageNamespaceController>, | 20 : public GarbageCollectedFinalized<StorageNamespaceController>, |
| 21 public Supplement<Page> { | 21 public Supplement<Page> { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 43 explicit StorageNamespaceController(StorageClient*); | 43 explicit StorageNamespaceController(StorageClient*); |
| 44 static const char* supplementName(); | 44 static const char* supplementName(); |
| 45 std::unique_ptr<StorageNamespace> m_sessionStorage; | 45 std::unique_ptr<StorageNamespace> m_sessionStorage; |
| 46 StorageClient* m_client; | 46 StorageClient* m_client; |
| 47 Member<InspectorDOMStorageAgent> m_inspectorAgent; | 47 Member<InspectorDOMStorageAgent> m_inspectorAgent; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace blink | 50 } // namespace blink |
| 51 | 51 |
| 52 #endif // StorageNamespaceController_h | 52 #endif // StorageNamespaceController_h |
| OLD | NEW |