| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 5 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
| 6 | 6 |
| 7 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 7 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
| 8 #include "webkit/dom_storage/dom_storage_session.h" | 8 #include "webkit/browser/dom_storage/dom_storage_session.h" |
| 9 | 9 |
| 10 using dom_storage::DomStorageContext; | 10 using dom_storage::DomStorageContext; |
| 11 using dom_storage::DomStorageSession; | 11 using dom_storage::DomStorageSession; |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 SessionStorageNamespaceImpl::SessionStorageNamespaceImpl( | 15 SessionStorageNamespaceImpl::SessionStorageNamespaceImpl( |
| 16 DOMStorageContextImpl* context) | 16 DOMStorageContextImpl* context) |
| 17 : session_(new DomStorageSession(context->context())) { | 17 : session_(new DomStorageSession(context->context())) { |
| 18 } | 18 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 SessionStorageNamespaceImpl::SessionStorageNamespaceImpl( | 56 SessionStorageNamespaceImpl::SessionStorageNamespaceImpl( |
| 57 DomStorageSession* clone) | 57 DomStorageSession* clone) |
| 58 : session_(clone) { | 58 : session_(clone) { |
| 59 } | 59 } |
| 60 | 60 |
| 61 SessionStorageNamespaceImpl::~SessionStorageNamespaceImpl() { | 61 SessionStorageNamespaceImpl::~SessionStorageNamespaceImpl() { |
| 62 } | 62 } |
| 63 | 63 |
| 64 } // namespace content | 64 } // namespace content |
| OLD | NEW |