| 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_
|
|
|