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

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

Issue 2847091: Fix bad license header under chrome/ directory. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_ 6 #define CHROME_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 "chrome/common/dom_storage_common.h" 10 #include "chrome/common/dom_storage_common.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h"
12 12
13 class RendererWebStorageNamespaceImpl : public WebKit::WebStorageNamespace { 13 class RendererWebStorageNamespaceImpl : public WebKit::WebStorageNamespace {
14 public: 14 public:
15 explicit RendererWebStorageNamespaceImpl(DOMStorageType storage_type); 15 explicit RendererWebStorageNamespaceImpl(DOMStorageType storage_type);
16 RendererWebStorageNamespaceImpl( 16 RendererWebStorageNamespaceImpl(DOMStorageType storage_type,
17 DOMStorageType storage_type, int64 namespace_id); 17 int64 namespace_id);
18 18
19 // See WebStorageNamespace.h for documentation on these functions. 19 // See WebStorageNamespace.h for documentation on these functions.
20 virtual ~RendererWebStorageNamespaceImpl(); 20 virtual ~RendererWebStorageNamespaceImpl();
21 virtual WebKit::WebStorageArea* createStorageArea( 21 virtual WebKit::WebStorageArea* createStorageArea(
22 const WebKit::WebString& origin); 22 const WebKit::WebString& origin);
23 virtual WebKit::WebStorageNamespace* copy(); 23 virtual WebKit::WebStorageNamespace* copy();
24 virtual void close(); 24 virtual void close();
25 25
26 private: 26 private:
27 // Used during lazy initialization of namespace_id_. 27 // Used during lazy initialization of namespace_id_.
28 const DOMStorageType storage_type_; 28 const DOMStorageType storage_type_;
29 29
30 // Our namespace ID. 30 // Our namespace ID.
31 int64 namespace_id_; 31 int64 namespace_id_;
32 }; 32 };
33 33
34 #endif // CHROME_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_ 34 #endif // CHROME_RENDERER_RENDERER_WEBSTORAGENAMESPACE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698