Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(672)

Side by Side Diff: content/renderer/renderer_webstoragenamespace_impl.cc

Issue 10086018: More DomStorage house cleaning (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/logging.h" 7 #include "base/logging.h"
8 #include "content/renderer/renderer_webstoragearea_impl.h" 8 #include "content/renderer/renderer_webstoragearea_impl.h"
9 #include "webkit/dom_storage/dom_storage_types.h"
9 10
10 using WebKit::WebStorageArea; 11 using WebKit::WebStorageArea;
11 using WebKit::WebStorageNamespace; 12 using WebKit::WebStorageNamespace;
12 using WebKit::WebString; 13 using WebKit::WebString;
13 14
14 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl() 15 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl()
15 : namespace_id_(dom_storage::kLocalStorageNamespaceId) { 16 : namespace_id_(dom_storage::kLocalStorageNamespaceId) {
16 } 17 }
17 18
18 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl( 19 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl(
(...skipping 18 matching lines...) Expand all
37 // By returning NULL, we're telling WebKit to lazily fetch it the next time 38 // By returning NULL, we're telling WebKit to lazily fetch it the next time
38 // session storage is used. In the WebViewClient::createView, we do the 39 // session storage is used. In the WebViewClient::createView, we do the
39 // book-keeping necessary to make it a true copy-on-write despite not doing 40 // book-keeping necessary to make it a true copy-on-write despite not doing
40 // anything here, now. 41 // anything here, now.
41 return NULL; 42 return NULL;
42 } 43 }
43 44
44 void RendererWebStorageNamespaceImpl::close() { 45 void RendererWebStorageNamespaceImpl::close() {
45 // TOOD(michaeln): remove this deprecated method. 46 // TOOD(michaeln): remove this deprecated method.
46 } 47 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_webstoragenamespace_impl.h ('k') | webkit/dom_storage/dom_storage_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698