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

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

Issue 6713024: Move the renderer_web* files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « content/renderer/renderer_webstoragenamespace_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/renderer/renderer_webstoragenamespace_impl.h" 5 #include "content/renderer/renderer_webstoragenamespace_impl.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/render_thread.h" 8 #include "chrome/renderer/render_thread.h"
9 #include "chrome/renderer/renderer_webstoragearea_impl.h" 9 #include "content/renderer/renderer_webstoragearea_impl.h"
10 10
11 using WebKit::WebStorageArea; 11 using WebKit::WebStorageArea;
12 using WebKit::WebStorageNamespace; 12 using WebKit::WebStorageNamespace;
13 using WebKit::WebString; 13 using WebKit::WebString;
14 14
15 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl( 15 RendererWebStorageNamespaceImpl::RendererWebStorageNamespaceImpl(
16 DOMStorageType storage_type) 16 DOMStorageType storage_type)
17 : storage_type_(storage_type), 17 : storage_type_(storage_type),
18 namespace_id_(kLocalStorageNamespaceId) { 18 namespace_id_(kLocalStorageNamespaceId) {
19 DCHECK(storage_type == DOM_STORAGE_LOCAL); 19 DCHECK(storage_type == DOM_STORAGE_LOCAL);
(...skipping 23 matching lines...) Expand all
43 // session storage is used. In the WebViewClient::createView, we do the 43 // 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 44 // book-keeping necessary to make it a true copy-on-write despite not doing
45 // anything here, now. 45 // anything here, now.
46 return NULL; 46 return NULL;
47 } 47 }
48 48
49 void RendererWebStorageNamespaceImpl::close() { 49 void RendererWebStorageNamespaceImpl::close() {
50 // This is called only on LocalStorage namespaces when WebKit thinks its 50 // This is called only on LocalStorage namespaces when WebKit thinks its
51 // shutting down. This has no impact on Chromium. 51 // shutting down. This has no impact on Chromium.
52 } 52 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_webstoragenamespace_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698