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

Side by Side Diff: content/browser/in_process_webkit/dom_storage_message_filter.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, 6 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 | « no previous file | content/browser/in_process_webkit/dom_storage_message_filter.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 friend class DeleteTask<DOMStorageMessageFilter>; 44 friend class DeleteTask<DOMStorageMessageFilter>;
45 virtual ~DOMStorageMessageFilter(); 45 virtual ~DOMStorageMessageFilter();
46 46
47 // Message Handlers. 47 // Message Handlers.
48 void OnStorageAreaId(int64 namespace_id, const string16& origin, 48 void OnStorageAreaId(int64 namespace_id, const string16& origin,
49 int64* storage_area_id); 49 int64* storage_area_id);
50 void OnLength(int64 storage_area_id, unsigned* length); 50 void OnLength(int64 storage_area_id, unsigned* length);
51 void OnKey(int64 storage_area_id, unsigned index, NullableString16* key); 51 void OnKey(int64 storage_area_id, unsigned index, NullableString16* key);
52 void OnGetItem(int64 storage_area_id, const string16& key, 52 void OnGetItem(int64 storage_area_id, const string16& key,
53 NullableString16* value); 53 NullableString16* value);
54 void OnSetItem(int render_view_id, int64 storage_area_id, const string16& key, 54 void OnSetItem(int64 storage_area_id, const string16& key,
55 const string16& value, const GURL& url, 55 const string16& value, const GURL& url,
56 WebKit::WebStorageArea::Result* result, 56 WebKit::WebStorageArea::Result* result,
57 NullableString16* old_value); 57 NullableString16* old_value);
58 void OnRemoveItem(int64 storage_area_id, const string16& key, 58 void OnRemoveItem(int64 storage_area_id, const string16& key,
59 const GURL& url, NullableString16* old_value); 59 const GURL& url, NullableString16* old_value);
60 void OnClear(int64 storage_area_id, const GURL& url, bool* something_cleared); 60 void OnClear(int64 storage_area_id, const GURL& url, bool* something_cleared);
61 61
62 // Only call on the IO thread. 62 // Only call on the IO thread.
63 void OnStorageEvent(const DOMStorageMsg_Event_Params& params); 63 void OnStorageEvent(const DOMStorageMsg_Event_Params& params);
64 64
(...skipping 18 matching lines...) Expand all
83 // Data shared between renderer processes with the same profile. 83 // Data shared between renderer processes with the same profile.
84 scoped_refptr<WebKitContext> webkit_context_; 84 scoped_refptr<WebKitContext> webkit_context_;
85 85
86 // Used to dispatch messages to the correct view host. 86 // Used to dispatch messages to the correct view host.
87 int process_id_; 87 int process_id_;
88 88
89 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageMessageFilter); 89 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageMessageFilter);
90 }; 90 };
91 91
92 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_MESSAGE_FILTER_H_ 92 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_DOM_STORAGE_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/in_process_webkit/dom_storage_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698