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

Unified Diff: content/renderer/dom_storage/webstoragearea_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/webstoragearea_impl.h
===================================================================
--- content/renderer/dom_storage/webstoragearea_impl.h (revision 0)
+++ content/renderer/dom_storage/webstoragearea_impl.h (working copy)
@@ -1,22 +1,23 @@
-// Copyright (c) 2011 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_WEBSTORAGEAREA_IMPL_H_
-#define CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_IMPL_H_
+#ifndef CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_
+#define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_
#pragma once
#include "base/basictypes.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
-class RendererWebStorageAreaImpl : public WebKit::WebStorageArea {
+class GURL;
+
+class WebStorageAreaImpl : public WebKit::WebStorageArea {
public:
- static RendererWebStorageAreaImpl* FromConnectionId(int id);
+ static WebStorageAreaImpl* FromConnectionId(int id);
- RendererWebStorageAreaImpl(int64 namespace_id,
- const WebKit::WebString& origin);
- virtual ~RendererWebStorageAreaImpl();
+ WebStorageAreaImpl(int64 namespace_id, const GURL& origin);
+ virtual ~WebStorageAreaImpl();
// See WebStorageArea.h for documentation on these functions.
virtual unsigned length();
@@ -35,4 +36,4 @@
int connection_id_;
};
-#endif // CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_IMPL_H_
+#endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_
« no previous file with comments | « content/renderer/dom_storage/dom_storage_dispatcher.cc ('k') | content/renderer/dom_storage/webstoragearea_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698