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

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

Issue 7074022: Get rid of the render view id in localStorage IPCs as it's not used anymore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/dom_storage_messages.h ('k') | content/renderer/renderer_webstoragearea_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WEBSTORAGEAREA_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_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/WebStorageArea.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
12 12
13 class RendererWebStorageAreaImpl : public WebKit::WebStorageArea { 13 class RendererWebStorageAreaImpl : public WebKit::WebStorageArea {
14 public: 14 public:
15 RendererWebStorageAreaImpl(int64 namespace_id, 15 RendererWebStorageAreaImpl(int64 namespace_id,
16 const WebKit::WebString& origin); 16 const WebKit::WebString& origin);
17 virtual ~RendererWebStorageAreaImpl(); 17 virtual ~RendererWebStorageAreaImpl();
18 18
19 // See WebStorageArea.h for documentation on these functions. 19 // See WebStorageArea.h for documentation on these functions.
20 virtual unsigned length(); 20 virtual unsigned length();
21 virtual WebKit::WebString key(unsigned index); 21 virtual WebKit::WebString key(unsigned index);
22 virtual WebKit::WebString getItem(const WebKit::WebString& key); 22 virtual WebKit::WebString getItem(const WebKit::WebString& key);
23 virtual void setItem( 23 virtual void setItem(
24 const WebKit::WebString& key, const WebKit::WebString& value, 24 const WebKit::WebString& key, const WebKit::WebString& value,
25 const WebKit::WebURL& url, WebStorageArea::Result& result, 25 const WebKit::WebURL& url, WebStorageArea::Result& result,
26 WebKit::WebString& old_value, WebKit::WebFrame* web_view); 26 WebKit::WebString& old_value);
27 virtual void removeItem( 27 virtual void removeItem(
28 const WebKit::WebString& key, const WebKit::WebURL& url, 28 const WebKit::WebString& key, const WebKit::WebURL& url,
29 WebKit::WebString& old_value); 29 WebKit::WebString& old_value);
30 virtual void clear(const WebKit::WebURL& url, bool& cleared_something); 30 virtual void clear(const WebKit::WebURL& url, bool& cleared_something);
31 31
32 private: 32 private:
33 // The ID we use for all IPC. 33 // The ID we use for all IPC.
34 int64 storage_area_id_; 34 int64 storage_area_id_;
35 }; 35 };
36 36
37 #endif // CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_IMPL_H_ 37 #endif // CONTENT_RENDERER_RENDERER_WEBSTORAGEAREA_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/dom_storage_messages.h ('k') | content/renderer/renderer_webstoragearea_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698