| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/renderer/renderer_webstoragenamespace_impl.h" | 5 #include "content/renderer/renderer_webstoragenamespace_impl.h" |
| 6 | 6 |
| 7 #include "chrome/common/render_messages.h" | |
| 8 #include "content/renderer/render_thread.h" | 7 #include "content/renderer/render_thread.h" |
| 9 #include "content/renderer/renderer_webstoragearea_impl.h" | 8 #include "content/renderer/renderer_webstoragearea_impl.h" |
| 10 | 9 |
| 11 using WebKit::WebStorageArea; | 10 using WebKit::WebStorageArea; |
| 12 using WebKit::WebStorageNamespace; | 11 using WebKit::WebStorageNamespace; |
| 13 using WebKit::WebString; | 12 using WebKit::WebString; |
| 14 | 13 |
| 15 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl( | 14 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl( |
| 16 DOMStorageType storage_type) | 15 DOMStorageType storage_type) |
| 17 : storage_type_(storage_type), | 16 : storage_type_(storage_type), |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 // session storage is used. In the WebViewClient::createView, we do the | 42 // session storage is used. In the WebViewClient::createView, we do the |
| 44 // book-keeping necessary to make it a true copy-on-write despite not doing | 43 // book-keeping necessary to make it a true copy-on-write despite not doing |
| 45 // anything here, now. | 44 // anything here, now. |
| 46 return NULL; | 45 return NULL; |
| 47 } | 46 } |
| 48 | 47 |
| 49 void RendererWebStorageNamespaceImpl::close() { | 48 void RendererWebStorageNamespaceImpl::close() { |
| 50 // This is called only on LocalStorage namespaces when WebKit thinks its | 49 // This is called only on LocalStorage namespaces when WebKit thinks its |
| 51 // shutting down. This has no impact on Chromium. | 50 // shutting down. This has no impact on Chromium. |
| 52 } | 51 } |
| OLD | NEW |