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

Unified Diff: content/renderer/dom_storage/webstoragenamespace_impl.h

Issue 10162015: Pull domstorage specifics out of RenderThreadImpl into DomStorageDispatcher (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/dom_storage/webstoragenamespace_impl.h
===================================================================
--- content/renderer/dom_storage/webstoragenamespace_impl.h (revision 0)
+++ content/renderer/dom_storage/webstoragenamespace_impl.h (working copy)
@@ -1,31 +1,30 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
-#define CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
+#ifndef CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_
+#define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_
#pragma once
#include "base/basictypes.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h"
-class RendererWebStorageNamespaceImpl : public WebKit::WebStorageNamespace {
+class WebStorageNamespaceImpl : public WebKit::WebStorageNamespace {
public:
// The default constructor creates a local storage namespace, the second
// constructor should be used for session storage namepaces.
- RendererWebStorageNamespaceImpl();
- explicit RendererWebStorageNamespaceImpl(int64 namespace_id);
+ WebStorageNamespaceImpl();
+ explicit WebStorageNamespaceImpl(int64 namespace_id);
+ virtual ~WebStorageNamespaceImpl();
// See WebStorageNamespace.h for documentation on these functions.
- virtual ~RendererWebStorageNamespaceImpl();
virtual WebKit::WebStorageArea* createStorageArea(
const WebKit::WebString& origin);
virtual WebKit::WebStorageNamespace* copy();
virtual bool isSameNamespace(const WebStorageNamespace&) const;
-
private:
int64 namespace_id_;
};
-#endif // CONTENT_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
+#endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGENAMESPACE_IMPL_H_
« no previous file with comments | « content/renderer/dom_storage/webstoragearea_impl.cc ('k') | content/renderer/dom_storage/webstoragenamespace_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698