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

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

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 #ifndef CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h " 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h "
11 #include "webkit/dom_storage/dom_storage_types.h"
12 // The above is to include the ENABLE_NEW_DOM_STORAGE_BACKEND flag
13 // in all consumers.
14 11
15 class RendererWebStorageNamespaceImpl : public WebKit::WebStorageNamespace { 12 class RendererWebStorageNamespaceImpl : public WebKit::WebStorageNamespace {
16 public: 13 public:
17 // The default constructor creates a local storage namespace, the second 14 // The default constructor creates a local storage namespace, the second
18 // constructor should be used for session storage namepaces. 15 // constructor should be used for session storage namepaces.
19 RendererWebStorageNamespaceImpl(); 16 RendererWebStorageNamespaceImpl();
20 explicit RendererWebStorageNamespaceImpl(int64 namespace_id); 17 explicit RendererWebStorageNamespaceImpl(int64 namespace_id);
21 18
22 // See WebStorageNamespace.h for documentation on these functions. 19 // See WebStorageNamespace.h for documentation on these functions.
23 virtual ~RendererWebStorageNamespaceImpl(); 20 virtual ~RendererWebStorageNamespaceImpl();
24 virtual WebKit::WebStorageArea* createStorageArea( 21 virtual WebKit::WebStorageArea* createStorageArea(
25 const WebKit::WebString& origin); 22 const WebKit::WebString& origin);
26 virtual WebKit::WebStorageNamespace* copy(); 23 virtual WebKit::WebStorageNamespace* copy();
27 virtual void close(); 24 virtual void close();
28 25
29 private: 26 private:
30 int64 namespace_id_; 27 int64 namespace_id_;
31 }; 28 };
32 29
33 #endif // CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_ 30 #endif // CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/renderer/renderer_webstoragenamespace_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698